7 changed files with 290 additions and 9 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; |
|||
|
|||
} |
Loading…
Reference in new issue