8 changed files with 295 additions and 0 deletions
@ -0,0 +1,49 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/11/19 1:47 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class CommunitySelfOrganizationListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 4202083250504143469L; |
|||
|
|||
public interface CommunitySelfOrganizationListForm{} |
|||
|
|||
/** |
|||
* 社区自组织名 |
|||
*/ |
|||
private String organizationName; |
|||
|
|||
/** |
|||
* 开始时间 |
|||
*/ |
|||
private String startTime; |
|||
|
|||
/** |
|||
* 结束时间 |
|||
*/ |
|||
private String endTime; |
|||
|
|||
@NotNull(message = "pageNo不能为空",groups = CommunitySelfOrganizationListForm.class) |
|||
private Integer pageNo; |
|||
|
|||
@NotNull(message = "pageSize不能为空",groups = CommunitySelfOrganizationListForm.class) |
|||
private Integer pageSize; |
|||
|
|||
/** |
|||
* 是否分页,默认true分页 |
|||
*/ |
|||
private Boolean isPage = true; |
|||
|
|||
private String customerId; |
|||
private String agencyId; |
|||
private Integer ranking; |
|||
} |
@ -0,0 +1,89 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.commons.tools.constant.NumConstant; |
|||
import com.epmet.dto.IcCommunitySelfOrganizationPersonnelDTO; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/11/19 1:47 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class CommunitySelfOrganizationListDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3208034033470533749L; |
|||
|
|||
/** |
|||
* 排序 |
|||
*/ |
|||
private Integer sort; |
|||
|
|||
/** |
|||
* 社区自组织人数 |
|||
*/ |
|||
private Integer organizationPersonCount; |
|||
|
|||
/** |
|||
* 社区自组织名字 |
|||
*/ |
|||
private String organizationName; |
|||
|
|||
/** |
|||
* 服务事项 |
|||
*/ |
|||
private String serviceItem; |
|||
|
|||
/** |
|||
* 负责人 |
|||
*/ |
|||
private String principalName; |
|||
|
|||
/** |
|||
* 负责人电话 |
|||
*/ |
|||
private String principalPhone; |
|||
|
|||
/** |
|||
* 自组织创办时间 |
|||
*/ |
|||
private String organizationCreatedTime; |
|||
|
|||
/** |
|||
* 经度 |
|||
*/ |
|||
private String longitude; |
|||
|
|||
/** |
|||
* 纬度 |
|||
*/ |
|||
private String latitude; |
|||
|
|||
/** |
|||
* 社区自组织ID |
|||
*/ |
|||
private String orgId; |
|||
|
|||
/** |
|||
* 社区自组织人员 |
|||
*/ |
|||
private List<IcCommunitySelfOrganizationPersonnelDTO> organizationPersonnel; |
|||
|
|||
public CommunitySelfOrganizationListDTO() { |
|||
this.sort = NumConstant.ZERO; |
|||
this.organizationPersonCount = NumConstant.ZERO; |
|||
this.organizationName = ""; |
|||
this.serviceItem = ""; |
|||
this.principalName = ""; |
|||
this.principalPhone = ""; |
|||
this.organizationCreatedTime = ""; |
|||
this.longitude = ""; |
|||
this.latitude = ""; |
|||
this.orgId = ""; |
|||
this.organizationPersonnel = new ArrayList<>(); |
|||
} |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.commons.tools.constant.NumConstant; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/11/19 1:47 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class CommunitySelfOrganizationListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3208034033470533749L; |
|||
|
|||
private Integer total; |
|||
|
|||
private List<CommunitySelfOrganizationListDTO> list; |
|||
|
|||
public CommunitySelfOrganizationListResultDTO() { |
|||
this.total = NumConstant.ZERO; |
|||
this.list = new ArrayList<>(); |
|||
} |
|||
} |
Loading…
Reference in new issue