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年03月06日 */ @Data public class LogDTO 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; /** * 设备ID */ private String devId; /** * 事件 */ private String event; /** * 内容 */ private String content; /** * 创建时间 */ private Date createDate; }