58 changed files with 1734 additions and 84 deletions
@ -0,0 +1,31 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 修改客户网格数和有效期-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class UpdateCustomerParameterFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 4512080710854617599L; |
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
@NotBlank(message = "customerId不能为空",groups = {Customer.class}) |
|||
private String customerId; |
|||
/** |
|||
* 有效期 |
|||
*/ |
|||
private String validityTime; |
|||
/** |
|||
* 最大允许创建网格数 |
|||
*/ |
|||
private Integer gridNumber; |
|||
|
|||
public interface Customer{} |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 部门信息 |
|||
* @ClassName ExtDeptResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-08-17 17:16 |
|||
*/ |
|||
@Data |
|||
public class ExtDeptResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 1792371558965832432L; |
|||
|
|||
/** |
|||
* 部门Id |
|||
* */ |
|||
private String deptId; |
|||
|
|||
/** |
|||
* 部门名称 |
|||
* */ |
|||
private String deptName; |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 网格信息 |
|||
* @ClassName ExtGridResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-08-17 15:28 |
|||
*/ |
|||
@Data |
|||
public class ExtGridResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -4531574240525562587L; |
|||
|
|||
/** |
|||
* 网格Id |
|||
* */ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 网格名称 |
|||
* */ |
|||
private String gridName; |
|||
} |
@ -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,43 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 工作人员数据权限 |
|||
* @ClassName ExtStaffPermissionResultDTO |
|||
* @Auth wangc |
|||
* @Date 2020-08-17 15:24 |
|||
*/ |
|||
@Data |
|||
public class ExtStaffPermissionResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 2513553862809278219L; |
|||
|
|||
/** |
|||
* 直属机关Id |
|||
* */ |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 直属机关名称 |
|||
* */ |
|||
private String agencyName; |
|||
|
|||
/** |
|||
* 直属机关直属网格列表 |
|||
* */ |
|||
private List<ExtGridResultDTO> gridList = new ArrayList<>(); |
|||
|
|||
/** |
|||
* 直属机关直属部门列表 |
|||
* */ |
|||
private List<ExtDeptResultDTO> departmentList = new ArrayList<>(); |
|||
|
|||
/** |
|||
* 子集机关列表 |
|||
* */ |
|||
private List<ExtStaffPermissionResultDTO> subAgencyList = new ArrayList<>(); |
|||
} |
@ -0,0 +1,38 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/8/19 10:53 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class UpdateCustomerFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1296290251616658023L; |
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
private String customerId; |
|||
/** |
|||
* 客户名 |
|||
*/ |
|||
private String customerName; |
|||
/** |
|||
* logo |
|||
*/ |
|||
private String logo; |
|||
/** |
|||
* 根管理员姓名 |
|||
*/ |
|||
private String rootManageName; |
|||
/** |
|||
* 根管理员电话 |
|||
*/ |
|||
private String rootManagePhone; |
|||
} |
@ -0,0 +1,66 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/8/19 9:53 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class CustomerListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -2167406082548134982L; |
|||
/** |
|||
* 客户id |
|||
*/ |
|||
private String customerId; |
|||
/** |
|||
* 客户名称 |
|||
*/ |
|||
private String customerName; |
|||
/** |
|||
* 产品标题 显示在产品顶端的标题 |
|||
*/ |
|||
private String title; |
|||
/** |
|||
* 有效期 |
|||
*/ |
|||
private String validityTime; |
|||
/** |
|||
* 客户组织级别:0.省级,1市级,2.区县级,3.乡镇街道级 字典表key:organizationlevel |
|||
*/ |
|||
private String organizationLevels; |
|||
/** |
|||
* 客户logo |
|||
*/ |
|||
private String logo; |
|||
/** |
|||
* 客户允许创建的网格数 |
|||
*/ |
|||
private Integer gridNumber; |
|||
/** |
|||
* 跟管理员姓名 |
|||
*/ |
|||
private String rootManageName; |
|||
/** |
|||
* 跟管理员电话 |
|||
*/ |
|||
private String rootManagePhone; |
|||
/** |
|||
* 省份 |
|||
*/ |
|||
private String province; |
|||
/** |
|||
* 城市 |
|||
*/ |
|||
private String city; |
|||
/** |
|||
* 区县 |
|||
*/ |
|||
private String county; |
|||
} |
@ -0,0 +1,36 @@ |
|||
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 运营端-定制功能采集-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class CustomerFunctionCollectFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 1L; |
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
@NotBlank(message = "客户ID不能为空", groups = {AddUserInternalGroup.class}) |
|||
private String customerId; |
|||
/** |
|||
* 功能ID |
|||
*/ |
|||
@NotBlank(message = "功能ID不能为空", groups = {AddUserInternalGroup.class}) |
|||
private String functionId; |
|||
/** |
|||
* 上架理由 |
|||
*/ |
|||
@NotBlank(message = "上架理由不能为空", groups = {AddUserShowGroup.class}) |
|||
private String reason; |
|||
|
|||
public interface AddUserInternalGroup {} |
|||
|
|||
public interface AddUserShowGroup extends CustomerClientShowGroup {} |
|||
|
|||
} |
@ -0,0 +1,36 @@ |
|||
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 运营端-客户定制功能顺序修改-接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class updatedisplayorderListFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 1L; |
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
@NotBlank(message = "客户ID不能为空", groups = {AddUserInternalGroup.class}) |
|||
private String customerId; |
|||
/** |
|||
* 功能ID |
|||
*/ |
|||
@NotBlank(message = "功能ID不能为空", groups = {AddUserInternalGroup.class}) |
|||
private String functionId; |
|||
/** |
|||
* 排序号 |
|||
*/ |
|||
@NotBlank(message = "排序号不能为空", groups = {AddUserShowGroup.class}) |
|||
private Integer displayOrder; |
|||
|
|||
public interface AddUserInternalGroup {} |
|||
|
|||
public interface AddUserShowGroup extends CustomerClientShowGroup {} |
|||
|
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 运营端-客户定制功能列表-接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class CustomerFunctionCustomizedListResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 2971689193155710437L; |
|||
|
|||
|
|||
/** |
|||
* 默认功能列表 |
|||
*/ |
|||
private List<CustomerResultDTO> customerList = new ArrayList<>(); |
|||
|
|||
/** |
|||
* 定制功能列表 |
|||
*/ |
|||
private List<FunctionResultDTO> functionList = new ArrayList<>(); |
|||
|
|||
} |
@ -0,0 +1,38 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 运营端-客户定制功能列表-接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class CustomerResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 2971689193155710437L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
/** |
|||
* 定制功能Id |
|||
*/ |
|||
private String functionId; |
|||
/** |
|||
* 默认功能名称 |
|||
*/ |
|||
private String customizedName; |
|||
/** |
|||
* 功能所属端(居民端:resi 工作端:work) |
|||
*/ |
|||
private String fromApp; |
|||
/** |
|||
* 功能说明 |
|||
*/ |
|||
private String functionExplain; |
|||
|
|||
} |
@ -0,0 +1,74 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 运营端-客户定制功能列表-接口返参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class FunctionResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 2971689193155710437L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
/** |
|||
* 定制功能Id |
|||
*/ |
|||
private String functionId; |
|||
/** |
|||
* 默认功能名称 |
|||
*/ |
|||
private String customizedName; |
|||
/** |
|||
* 自定义功能名称 |
|||
*/ |
|||
private String functionName; |
|||
/** |
|||
* 功能所属端(居民端:resi 工作端:work) |
|||
*/ |
|||
private String fromApp; |
|||
/** |
|||
* 默认大图标 |
|||
*/ |
|||
private String defaultLargeImg; |
|||
/** |
|||
* 自定义大图标 |
|||
*/ |
|||
private String iconLargeImg; |
|||
/** |
|||
* 默认小图标 |
|||
*/ |
|||
private String defaultSmallImg; |
|||
/** |
|||
* 自定义小图标 |
|||
*/ |
|||
private String iconSmallImg; |
|||
/** |
|||
* 上下架(0:下架、1:上架) |
|||
*/ |
|||
private Integer shoppingStatus; |
|||
/** |
|||
* 业务域名 |
|||
*/ |
|||
private String domainName; |
|||
/** |
|||
* 外链地址 |
|||
*/ |
|||
private String targetLink; |
|||
/** |
|||
* 排序 |
|||
*/ |
|||
private Integer displayOrder; |
|||
/** |
|||
* 功能说明 |
|||
*/ |
|||
private String functionExplain; |
|||
|
|||
} |
@ -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; |
|||
} |
@ -0,0 +1,31 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2020/8/19 14:20 |
|||
*/ |
|||
@Data |
|||
public class UpdateRootManageFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 3954225931981940018L; |
|||
/** |
|||
* 根组织ID |
|||
*/ |
|||
private String orgId; |
|||
/** |
|||
* 角色key |
|||
*/ |
|||
private String roleKey; |
|||
/** |
|||
* 根管理员姓名 |
|||
*/ |
|||
private String rootManageName; |
|||
/** |
|||
* 根管理员电话 |
|||
*/ |
|||
private String rootManagePhone; |
|||
} |
Loading…
Reference in new issue