package com.njcn.harmonic.pojo.param;

import com.njcn.common.pojo.constant.PatternRegex;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * @author: chenchao
 * @date: 2022/03/01 14:37
 * @Description: <描述>
 */
@Data
public class OnlineRateCensusParam extends OnlineRateParam {

    @ApiModelProperty(value = "比较开始时间")
    @Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
    private String periodBeginTime;

    @ApiModelProperty(value = "比较结束时间")
    @Pattern(regexp = PatternRegex.TIME_FORMAT, message = "时间格式错误")
    private String periodEndTime;

}
