6 changed files with 118 additions and 7 deletions
@ -0,0 +1,49 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/10/19 10:41 上午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class GridUserWorkFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -2328321123796674558L; |
|||
|
|||
public interface GridUserWorkForm{} |
|||
|
|||
@NotBlank(message = "网格ID不能为空",groups = GridUserWorkForm.class) |
|||
private String gridId; |
|||
|
|||
@NotBlank(message = "例行工作类型不能为空",groups = GridUserWorkForm.class) |
|||
private String workType; |
|||
|
|||
@NotBlank(message = "例行工作类型名字不能为空",groups = GridUserWorkForm.class) |
|||
private String workTypeName; |
|||
|
|||
/** |
|||
* Y:是、N:否 |
|||
*/ |
|||
@NotBlank(message = "有无变动(异常)不能为空",groups = GridUserWorkForm.class) |
|||
private String workResult; |
|||
|
|||
@NotNull(message = "发生时间不能为空",groups = GridUserWorkForm.class) |
|||
private Date happenTime; |
|||
|
|||
/** |
|||
* 备注说明 |
|||
*/ |
|||
private String workContent; |
|||
|
|||
/** |
|||
* 基础信息ID【相关信息】 |
|||
*/ |
|||
private String baseInfoId; |
|||
} |
Loading…
Reference in new issue