7 changed files with 207 additions and 6 deletions
@ -0,0 +1,35 @@ |
|||
package com.epmet.evaluationindex.screen.dto.form; |
|||
|
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 党员(积分)排行--接口入参 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class PartyPointRankFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -2880432640584616651L; |
|||
/** |
|||
* 组织或网格Id |
|||
*/ |
|||
@NotBlank(message = "组织或网格ID不能为空",groups = {PartyPointRankFormDTO.AddUserInternalGroup.class}) |
|||
private String orgId; |
|||
/** |
|||
* 类型(组织:agency 网格:grid) |
|||
*/ |
|||
@NotBlank(message = "数据类型不能为空",groups = {PartyPointRankFormDTO.AddUserInternalGroup.class}) |
|||
private String orgType; |
|||
/** |
|||
* 默认显示前5名 |
|||
*/ |
|||
@Min(value = 1, message = "查询条数必须大于0", groups = {PartyPointRankFormDTO.AddUserInternalGroup.class }) |
|||
private Integer topNum; |
|||
public interface AddUserInternalGroup {} |
|||
|
|||
|
|||
} |
@ -0,0 +1,35 @@ |
|||
package com.epmet.evaluationindex.screen.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class PartyPointRankResultDTO { |
|||
/** |
|||
* 组织ID |
|||
*/ |
|||
private String agencyId; |
|||
/** |
|||
* 组织名称 |
|||
*/ |
|||
private String agencyName; |
|||
/** |
|||
* 用户Id |
|||
*/ |
|||
private String userId; |
|||
/** |
|||
* 用户名称 |
|||
*/ |
|||
private String userName; |
|||
/** |
|||
* 网格Id |
|||
*/ |
|||
private String gridId; |
|||
/** |
|||
* 网格名称 |
|||
*/ |
|||
private String gridName; |
|||
/** |
|||
* 党员积分 |
|||
*/ |
|||
private Double pointTotal; |
|||
} |
Loading…
Reference in new issue