17 changed files with 374 additions and 0 deletions
@ -0,0 +1,26 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @ClassName ExtRoleMapResultDTO |
||||
|
* @Auth wangc |
||||
|
* @Date 2020-08-17 09:19 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ExtRoleMapResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 4988555173286922503L; |
||||
|
|
||||
|
/** |
||||
|
* 角色key |
||||
|
* */ |
||||
|
private String roleKey; |
||||
|
|
||||
|
/** |
||||
|
* 角色名称 |
||||
|
* */ |
||||
|
private String roleName; |
||||
|
} |
@ -0,0 +1,82 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Description |
||||
|
* @ClassName ExtStaffInfoResultDTO |
||||
|
* @Auth wangc |
||||
|
* @Date 2020-08-17 09:14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ExtStaffInfoResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 3874334777882476292L; |
||||
|
|
||||
|
/** |
||||
|
* 工作人员昵称 |
||||
|
* */ |
||||
|
private String nickname; |
||||
|
|
||||
|
/** |
||||
|
* 工作人员头像 |
||||
|
* */ |
||||
|
private String profile; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
* */ |
||||
|
private String realName; |
||||
|
|
||||
|
/** |
||||
|
* 客户Id |
||||
|
* */ |
||||
|
private String customerId; |
||||
|
|
||||
|
/** |
||||
|
* 客户名称 |
||||
|
* */ |
||||
|
private String customerName; |
||||
|
|
||||
|
/** |
||||
|
* 机关Id |
||||
|
* */ |
||||
|
private String agencyId; |
||||
|
|
||||
|
/** |
||||
|
* 机关名称 |
||||
|
* */ |
||||
|
private String agencyName; |
||||
|
|
||||
|
/** |
||||
|
* 机关路径Id |
||||
|
* */ |
||||
|
private String agencyIdPath; |
||||
|
|
||||
|
/** |
||||
|
* 机关路径名称 |
||||
|
* */ |
||||
|
private String agencyNamePath; |
||||
|
|
||||
|
/** |
||||
|
* 网格Id |
||||
|
* */ |
||||
|
private String gridId; |
||||
|
|
||||
|
/** |
||||
|
* 网格名称 |
||||
|
* */ |
||||
|
private String gridName; |
||||
|
|
||||
|
/** |
||||
|
* 是否管理员标识 1是0否 |
||||
|
* */ |
||||
|
private String adminFlag; |
||||
|
|
||||
|
/** |
||||
|
* 用户角色列表 |
||||
|
* */ |
||||
|
private List<ExtRoleMapResultDTO> roleList; |
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Description 工作人员Id |
||||
|
* @ClassName CommonStaffIdFormDTO |
||||
|
* @Auth wangc |
||||
|
* @Date 2020-08-17 10:28 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CommonStaffIdFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -5093758817860808310L; |
||||
|
|
||||
|
public interface StaffIdGroup extends CustomerClientShowGroup{} |
||||
|
|
||||
|
@NotBlank(message = "工作人员Id不能为空" , groups = StaffIdGroup.class) |
||||
|
private String staffId; |
||||
|
} |
Loading…
Reference in new issue