9 changed files with 212 additions and 16 deletions
@ -0,0 +1,52 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.Set; |
|||
|
|||
/** |
|||
* @Description 发送消息-新增群组 |
|||
* @Author yinzuomei |
|||
* @Date 2021/8/20 9:39 上午 |
|||
*/ |
|||
@Data |
|||
public class AddReceiverGroupFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 6221853016790893895L; |
|||
public interface AddUserInternalGroup { |
|||
} |
|||
public interface AddUserShowGroup extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
@NotBlank(message = "名称不能为空",groups = AddUserShowGroup.class) |
|||
@Length(min = 1,max = 20,groups = AddUserShowGroup.class,message = "名称最多输入20个字") |
|||
private String name; |
|||
|
|||
|
|||
/** |
|||
* 单独选择的人的userId集合 |
|||
*/ |
|||
private Set<String> staffIdList; |
|||
/** |
|||
* 按架构选择的,组织或者网格或者部门的集合 |
|||
*/ |
|||
private Set<OrgCommonDTO> orgList; |
|||
|
|||
|
|||
//以下参数从token中获取
|
|||
/** |
|||
* 当前用户id |
|||
*/ |
|||
@NotBlank(message = "userId不能为空", groups = AddUserInternalGroup.class) |
|||
private String userId; |
|||
|
|||
/** |
|||
* 当前客户id |
|||
*/ |
|||
@NotBlank(message = "customerId不能为空", groups = AddUserInternalGroup.class) |
|||
private String customerId; |
|||
} |
|||
|
@ -0,0 +1,17 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 添加小组返参 |
|||
* @Author yinzuomei |
|||
* @Date 2021/8/20 9:56 上午 |
|||
*/ |
|||
@Data |
|||
public class AddReceiverGroupResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 4729777797252376046L; |
|||
private String receiverGroupId; |
|||
} |
|||
|
@ -0,0 +1,17 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 回复消息返参 |
|||
* @Author yinzuomei |
|||
* @Date 2021/8/20 9:51 上午 |
|||
*/ |
|||
@Data |
|||
public class ReplyInfoResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -634463925415755405L; |
|||
private String replyId; |
|||
} |
|||
|
Loading…
Reference in new issue