6 changed files with 126 additions and 12 deletions
@ -0,0 +1,68 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import com.epmet.dto.MemoAttachmentDTO; |
||||
|
import lombok.Data; |
||||
|
import org.hibernate.validator.constraints.Length; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 备忘录-难点读点 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-03-15 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AddMemoDifficultyFromDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
public interface AddMemoDifficulty extends CustomerClientShowGroup {} |
||||
|
|
||||
|
/** |
||||
|
* id |
||||
|
*/ |
||||
|
private String id; |
||||
|
|
||||
|
/** |
||||
|
* 内容 |
||||
|
*/ |
||||
|
@NotBlank(message = "难点堵点内容不能为空", groups = { AddMemoDifficulty.class }) |
||||
|
@Length(max = 500, message = "难点堵点内容最长为50个字", groups = { AddMemoDifficulty.class }) |
||||
|
private String content; |
||||
|
|
||||
|
/** |
||||
|
* 解决方式 |
||||
|
*/ |
||||
|
private String resolveWay; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String remark; |
||||
|
|
||||
|
/** |
||||
|
* 计划执行时间 |
||||
|
*/ |
||||
|
private Date scheduledTime; |
||||
|
|
||||
|
/** |
||||
|
* 提醒时间 |
||||
|
*/ |
||||
|
private Date remindTime; |
||||
|
|
||||
|
/** |
||||
|
* 附件集合 |
||||
|
*/ |
||||
|
private List<MemoAttachmentDTO> attachmentList; |
||||
|
|
||||
|
//token中客户ID
|
||||
|
private String customerId; |
||||
|
//token中用户Id
|
||||
|
private String userId; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue