7 changed files with 195 additions and 0 deletions
@ -0,0 +1,42 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 数字社区-人员类别分析 入参DTO |
|||
* 某个类别的迁入、迁出、新增、类别列表 |
|||
*/ |
|||
@Data |
|||
public class IcUsercategoryAnalysisFormDTO implements Serializable { |
|||
public interface AddUserInternalGroup {} |
|||
public interface AddUserShowGroup extends CustomerClientShowGroup {} |
|||
@NotBlank(message = "请选择查看某个人员类别",groups =AddUserShowGroup.class ) |
|||
private String categoryKey; |
|||
|
|||
@NotBlank(message = "dateId不能为空",groups =AddUserInternalGroup.class ) |
|||
@Length(min = 8, max = 8,message = "dateId格式:yyyyMMdd",groups =AddUserInternalGroup.class) |
|||
private String dateId; |
|||
|
|||
private String type; |
|||
|
|||
@NotNull(message = "页码pageNo不能为空",groups =AddUserInternalGroup.class ) |
|||
private Integer pageNo; |
|||
@NotNull(message = "页量pageSize不能为空",groups =AddUserInternalGroup.class ) |
|||
private Integer pageSize; |
|||
|
|||
@NotBlank(message = "请选择查看某个组织或网格",groups =AddUserShowGroup.class ) |
|||
private String orgId; |
|||
@NotBlank(message = "orgType不能为空",groups =AddUserInternalGroup.class ) |
|||
private String orgType; |
|||
|
|||
private String startDate; |
|||
private String endDate; |
|||
|
|||
} |
|||
|
@ -0,0 +1,33 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 人员类别分析 |
|||
* 列表返参 |
|||
*/ |
|||
@Data |
|||
public class IcUsercategoryAnalysisResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 8071180665763717817L; |
|||
private String icUserId; |
|||
private String name; |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private Date changeTime; |
|||
private String typeName; |
|||
private String type; |
|||
private String gridName; |
|||
private String address; |
|||
|
|||
// @JsonIgnore
|
|||
private String buildingId; |
|||
// @JsonIgnore
|
|||
private String gridId; |
|||
// @JsonIgnore
|
|||
private Integer value; |
|||
// @JsonIgnore
|
|||
private String fieldName; |
|||
} |
Loading…
Reference in new issue