forked from luyan/epmet-cloud-lingshan
13 changed files with 285 additions and 21 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/19 1:25 下午 |
|||
*/ |
|||
@Data |
|||
public class ProjectFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 7114390205886348751L; |
|||
|
|||
public interface Project{} |
|||
|
|||
/** |
|||
* 机关ID |
|||
*/ |
|||
@NotBlank(message = "机关ID不能为空",groups = {Project.class}) |
|||
private String agencyId; |
|||
} |
@ -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/19 1:43 下午 |
|||
*/ |
|||
@Data |
|||
public class TopProfileFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -287352242311433250L; |
|||
|
|||
public interface TopProfile{} |
|||
|
|||
/** |
|||
* 机关ID |
|||
*/ |
|||
@NotBlank(message = "机关ID不能为空",groups = {TopProfile.class}) |
|||
private String agencyId; |
|||
} |
@ -0,0 +1,45 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/19 1:27 下午 |
|||
*/ |
|||
@Data |
|||
public class ProjectResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 7130615407473171093L; |
|||
|
|||
/** |
|||
* 项目标题 |
|||
*/ |
|||
private String projectTitle = ""; |
|||
|
|||
/** |
|||
* red, green,yellow |
|||
*/ |
|||
private String color = ""; |
|||
|
|||
/** |
|||
* 项目id |
|||
*/ |
|||
private String projectId = ""; |
|||
|
|||
/** |
|||
* 网格名称 |
|||
*/ |
|||
private String orgName = ""; |
|||
|
|||
/** |
|||
* 经度 |
|||
*/ |
|||
private Double longitude = 0.0; |
|||
|
|||
/** |
|||
* 纬度 |
|||
*/ |
|||
private Double latitude = 0.0; |
|||
} |
@ -0,0 +1,45 @@ |
|||
package com.epmet.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/8/19 1:46 下午 |
|||
*/ |
|||
@Data |
|||
public class TopProfileResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -5081563117620857359L; |
|||
|
|||
/** |
|||
* 用户总数 |
|||
*/ |
|||
private Integer userNum = 0; |
|||
|
|||
/** |
|||
* 党员总数 |
|||
*/ |
|||
private Integer partyMemberNum = 0; |
|||
|
|||
/** |
|||
* 党群总数 |
|||
*/ |
|||
private Integer groupNum = 0; |
|||
|
|||
/** |
|||
* 话题总数 |
|||
*/ |
|||
private Integer topicNum = 0; |
|||
|
|||
/** |
|||
* 议题总数 |
|||
*/ |
|||
private Integer issueNum = 0; |
|||
|
|||
/** |
|||
* 项目总数 |
|||
*/ |
|||
private Integer projectNum = 0; |
|||
} |
Loading…
Reference in new issue