Browse Source
# Conflicts: # epmet-module/data-aggregator/data-aggregator-server/src/main/java/com/epmet/dataaggre/service/epmetmessage/impl/EpmetMessageServiceImpl.javadev_shibei_match
23 changed files with 558 additions and 56 deletions
@ -0,0 +1,33 @@ |
|||
package com.epmet.dataaggre.dto.message.form; |
|||
|
|||
import com.epmet.commons.tools.dto.form.PageFormDTO; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 发送消息详情页-回复列表 |
|||
* @Author yinzuomei |
|||
* @Date 2021/8/20 1:42 下午 |
|||
*/ |
|||
@Data |
|||
public class InfoRepliesFormDTO extends PageFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 8001971787502569463L; |
|||
@NotBlank(message = "消息id不能为空",groups = PageFormDTO.AddUserInternalGroup.class) |
|||
private String infoId; |
|||
|
|||
//以下参数从token中获取
|
|||
/** |
|||
* 当前用户id |
|||
*/ |
|||
@NotBlank(message = "userId不能为空",groups =PageFormDTO.AddUserInternalGroup.class) |
|||
private String userId; |
|||
|
|||
/** |
|||
* 当前客户id |
|||
*/ |
|||
@NotBlank(message = "customerId不能为空",groups = PageFormDTO.AddUserInternalGroup.class) |
|||
private String customerId; |
|||
} |
|||
|
@ -0,0 +1,28 @@ |
|||
package com.epmet.dataaggre.dto.message.result; |
|||
|
|||
import com.epmet.commons.tools.dto.form.FileCommonDTO; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 发送消息-回复详情 |
|||
* @Author yinzuomei |
|||
* @Date 2021/8/20 2:01 下午 |
|||
*/ |
|||
@Data |
|||
public class InfoReplyDetail extends StaffInfoCommonDTO implements Serializable { |
|||
private static final long serialVersionUID = -9038141920493410767L; |
|||
private String replyId; |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private Date replyTime; |
|||
private String content; |
|||
/** |
|||
* 附件列表 |
|||
*/ |
|||
private List<FileCommonDTO> attachmentList; |
|||
} |
|||
|
@ -0,0 +1,18 @@ |
|||
package com.epmet.dataaggre.dto.message.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 发送消息-回复列表 |
|||
* @Author yinzuomei |
|||
* @Date 2021/8/20 2:00 下午 |
|||
*/ |
|||
@Data |
|||
public class InfoReplyResDTO implements Serializable { |
|||
private Integer total; |
|||
private List<InfoReplyDetail> dataList; |
|||
} |
|||
|
Loading…
Reference in new issue