package com.iailab.module.data.dev.dto; import com.iailab.framework.common.validation.group.AddGroup; import com.iailab.framework.common.validation.group.UpdateGroup; import lombok.Data; import javax.validation.constraints.NotNull; import javax.validation.constraints.Null; import java.io.Serializable; import java.util.Date; /** * @author PanZhibao * @Description * @createTime 2024年03月09日 */ @Data public class AlarmCameraDTO implements Serializable { private static final long serialVersionUID = 1L; @Null(message="{id.null}", groups = AddGroup.class) @NotNull(message="{id.require}", groups = UpdateGroup.class) private String id; private String cameraId; private Integer cameraCode; private Integer channel; private String point; private String location; private Integer alarmStatus; private Date alarmTime; private String alarmMsg; private Integer isEnable; private Integer sort; private Date lastTime; private Integer dx; private Integer dy; private Integer isShow; private Integer frequency; private String modelId; private String modelName; private String descInfo; private Date createDate; private Integer alarmTotal; private String pointName; private String nvrId; private String imageUrl; private String captureType; }