package com.njcn.device.pq.pojo.param;

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

import javax.validation.constraints.Pattern;

/**
 * @author denghuajun
 * @date 2022/3/1
 *
 */
@Data
public class PulicTimeStatisParam extends PulicTimeParam {

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

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