Browse Source
# Conflicts: # epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/MemoDifficultyController.java # epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/MemoWorkDiaryController.javamaster
17 changed files with 395 additions and 50 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; |
||||
|
|
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 备忘录-难点读点 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-03-15 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class MemoDifficultyDetailFromDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
public interface Detail extends CustomerClientShowGroup {} |
||||
|
|
||||
|
/** |
||||
|
* id |
||||
|
*/ |
||||
|
@NotBlank(message = "难点堵点Id不能为空", groups = { Detail.class }) |
||||
|
private String id; |
||||
|
/** |
||||
|
* 阅读标记1 已读;0未读 |
||||
|
*/ |
||||
|
@NotNull(message = "阅读标记不能为空", groups = { Detail.class }) |
||||
|
private Integer readFlag; |
||||
|
|
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.dto.form.PageFormDTO; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @Author zhaoqifeng |
||||
|
* @Date 2022/3/15 15:09 |
||||
|
*/ |
||||
|
@NoArgsConstructor |
||||
|
@Data |
||||
|
public class MemoWorkDiaryFormDTO extends PageFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 3101320969471756516L; |
||||
|
private String userId; |
||||
|
private String id; |
||||
|
private String readFlag = "0"; |
||||
|
private String content; |
||||
|
private String workType; |
||||
|
private String startTime; |
||||
|
private String endTime; |
||||
|
} |
Loading…
Reference in new issue