package com.njcn.csharmonic.param;

import com.njcn.web.pojo.annotation.DateTimeStrValid;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class SensitiveUserReportQueryParam {
    @NotBlank(message = "监测对象id不可为空")
    @ApiModelProperty(name = "lineId",value = "监测对象id")
    private String sensitiveUserId;
    @NotBlank(message = "模板ID不可为空")
    @ApiModelProperty(name = "tempId",value = "模板ID")
    private String tempId;

    @ApiModelProperty(name = "startTime", value = "开始时间")
    @NotBlank(message = "起始时间不可为空")
    @DateTimeStrValid(message = "起始时间格式出错")
    private String startTime;

    @ApiModelProperty(name = "endTime", value = "结束时间")
    @NotBlank(message = "结束时间不可为空")
    private String endTime;

}
