forked from rongchao/epmet-cloud-rizhao
10 changed files with 319 additions and 6 deletions
@ -0,0 +1,34 @@ |
|||
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 12:54 下午 |
|||
*/ |
|||
@Data |
|||
public class InfoGroupDetailFormDTO extends PageFormDTO implements Serializable { |
|||
@NotBlank(message = "群组id不能为空",groups = PageFormDTO.AddUserInternalGroup.class) |
|||
private String receiverGroupId; |
|||
|
|||
|
|||
|
|||
//以下参数从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,19 @@ |
|||
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 12:58 下午 |
|||
*/ |
|||
@Data |
|||
public class InfoGroupDetailResDTO implements Serializable { |
|||
private String receiverGroupId; |
|||
private String name; |
|||
private List<StaffInfoCommonDTO> staffList; |
|||
} |
|||
|
@ -0,0 +1,24 @@ |
|||
package com.epmet.dataaggre.dto.message.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 我创建的群组列表 |
|||
* @Author yinzuomei |
|||
* @Date 2021/8/20 10:30 上午 |
|||
*/ |
|||
@Data |
|||
public class MyInfoGroupResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 3621868560778309056L; |
|||
private String receiverGroupId; |
|||
private String name; |
|||
private Integer totalMem; |
|||
@JsonIgnore |
|||
private List<String> staffIdList; |
|||
private List<String> staffNameList; |
|||
} |
|||
|
@ -0,0 +1,21 @@ |
|||
package com.epmet.dataaggre.dto.message.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 工作人员列表基本信息,通用吧 |
|||
* @Author yinzuomei |
|||
* @Date 2021/8/20 1:02 下午 |
|||
*/ |
|||
@Data |
|||
public class StaffInfoCommonDTO implements Serializable { |
|||
private String staffId; |
|||
private String staffName; |
|||
private String gender; |
|||
private String orgName; |
|||
private String headPhoto; |
|||
|
|||
} |
|||
|
Loading…
Reference in new issue