forked from rongchao/epmet-cloud-rizhao
9 changed files with 293 additions and 1 deletions
@ -0,0 +1,24 @@ |
|||
package com.epmet.screen.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 2:14 下午 |
|||
*/ |
|||
@Data |
|||
public class CompartmentFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -3354777434424878413L; |
|||
|
|||
public interface Compartment{} |
|||
|
|||
/** |
|||
* 机关ID |
|||
*/ |
|||
@NotBlank(message = "机关ID不能为空",groups = {Compartment.class}) |
|||
private String agencyId; |
|||
} |
@ -0,0 +1,40 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 2:20 下午 |
|||
*/ |
|||
@Data |
|||
public class AgencyDistributionResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -8404806508669824731L; |
|||
|
|||
/** |
|||
* 可能是gridId,可能是agencyId |
|||
*/ |
|||
private String subId; |
|||
|
|||
/** |
|||
* 名称 |
|||
*/ |
|||
private String subName; |
|||
|
|||
/** |
|||
* 坐标区域 |
|||
*/ |
|||
private String subAreaMarks; |
|||
|
|||
/** |
|||
* 中心点位 |
|||
*/ |
|||
private String subCenterMark; |
|||
|
|||
/** |
|||
* 组织:agency; 网格:grid ; 部门:dept |
|||
*/ |
|||
private String type; |
|||
} |
@ -0,0 +1,36 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 14:18 |
|||
*/ |
|||
@Data |
|||
public class CompartmentResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 7963177476365327829L; |
|||
|
|||
/** |
|||
* 当前所选组织 |
|||
*/ |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 当前所选组织名称 |
|||
*/ |
|||
private String name; |
|||
|
|||
/** |
|||
* 当前所选组织的坐标区域 |
|||
*/ |
|||
private String areaMarks; |
|||
|
|||
/** |
|||
* 子级用户分布 |
|||
*/ |
|||
private List<AgencyDistributionResultDTO> userDistribution; |
|||
} |
@ -0,0 +1,36 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/18 2:00 下午 |
|||
*/ |
|||
@Data |
|||
public class TreeResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3860268744336541373L; |
|||
|
|||
/** |
|||
* 显示名称 |
|||
*/ |
|||
private String label; |
|||
|
|||
/** |
|||
* agencyId下拉框value |
|||
*/ |
|||
private String value; |
|||
|
|||
@JsonIgnore |
|||
private String pids; |
|||
|
|||
/** |
|||
* 子目录 |
|||
*/ |
|||
private List<TreeResultDTO> children; |
|||
|
|||
} |
Loading…
Reference in new issue