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年02月27日
|
*/
|
@Data
|
public class DevImageDTO 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 String imagePath;
|
|
private String imageUrl;
|
|
private Date createDate;
|
}
|