33 changed files with 842 additions and 76 deletions
@ -0,0 +1,34 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @Author sun |
|||
* @Description 书记日志-待提醒弹框-提醒内容列表-接口入参 |
|||
**/ |
|||
@Data |
|||
public class MemosToRemindFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 4859779755214502427L; |
|||
public interface MemoAttr extends CustomerClientShowGroup {} |
|||
/** |
|||
* 待提醒业务Id |
|||
*/ |
|||
@NotBlank(message = "待提醒业务Id不能为空", groups = { MemoAttr.class }) |
|||
private String memoId; |
|||
/** |
|||
* 到期提醒时间,不传值默认查询当前时间之前的数据(yyyy-MM-dd) |
|||
*/ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private String remindTime; |
|||
|
|||
//token中用户Id
|
|||
private String userId; |
|||
|
|||
} |
|||
|
@ -0,0 +1,42 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @Author sun |
|||
* @Description 书记日志-待提醒弹框-提醒内容列表-接口返参 |
|||
**/ |
|||
@Data |
|||
@AllArgsConstructor |
|||
public class MemosToRemindResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 4769136806332933579L; |
|||
|
|||
/** |
|||
* 对应业务数据Id |
|||
*/ |
|||
private String memoId; |
|||
/** |
|||
* 业务类型 人员关怀:concern;难点堵点:difficulty;工作日志:work_diary |
|||
*/ |
|||
private String type; |
|||
/** |
|||
* 业务类型 人员关怀:concern;难点堵点:difficulty;工作日志:work_diary |
|||
*/ |
|||
private String typeName; |
|||
/** |
|||
* 提醒内容 |
|||
*/ |
|||
private String content; |
|||
/** |
|||
* 提醒时间(日期类型) |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private String remindTime; |
|||
|
|||
} |
@ -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; |
|||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue