package com.iailab.module.data.video.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年02月27日 */ @Data public class CameraDTO 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 code; private String factory; private String unit; private String factoryName; private String unitName; private String brand; private String point; private String location; private String nvrId; private String ip; private String port; private Integer channel; private String captureType; private String device; private String type; private String username; private String password; private Integer status; private String remark; private Long creator; private Date createDate; private Long updater; private Date updateDate; }