13 changed files with 275 additions and 4 deletions
@ -0,0 +1,35 @@ |
|||||
|
package com.epmet.dto; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/6/15 10:00 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CustomerAgencyUserRoleDTO implements Serializable { |
||||
|
|
||||
|
/** |
||||
|
* 客户ID |
||||
|
*/ |
||||
|
private String customerId; |
||||
|
|
||||
|
/** |
||||
|
* 组织ID |
||||
|
*/ |
||||
|
private String agencyId; |
||||
|
|
||||
|
/** |
||||
|
* 工作人员ID |
||||
|
*/ |
||||
|
private String staffId; |
||||
|
|
||||
|
/** |
||||
|
* 角色 |
||||
|
*/ |
||||
|
private String roles; |
||||
|
|
||||
|
} |
@ -0,0 +1,30 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/6/15 2:54 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CustomerAgencyUserRoleFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -4880100913767612685L; |
||||
|
|
||||
|
public interface CustomerAgencyUserRoleForm{} |
||||
|
|
||||
|
@NotBlank(message = "客户ID不能为空",groups = CustomerAgencyUserRoleForm.class) |
||||
|
private String customerId; |
||||
|
|
||||
|
/** |
||||
|
* 工作人员IDs |
||||
|
*/ |
||||
|
@NotNull(message = "工作人员IDS不能为空",groups = CustomerAgencyUserRoleForm.class) |
||||
|
private List<String> staffIds; |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/6/15 2:31 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class RoleKeyValueResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 6511646803043360335L; |
||||
|
|
||||
|
private String roleKey; |
||||
|
|
||||
|
private String roleName; |
||||
|
|
||||
|
private String orgId; |
||||
|
|
||||
|
private String staffId; |
||||
|
} |
Loading…
Reference in new issue