14 changed files with 255 additions and 4 deletions
@ -0,0 +1,34 @@ |
|||
package com.elink.esua.epdc.dto.user.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author:liuchuang |
|||
* @Date:2021/7/19 16:07 |
|||
*/ |
|||
@Data |
|||
public class VolunteerPointsRecordsFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 1625467226873432125L; |
|||
|
|||
/** |
|||
* 页码 |
|||
*/ |
|||
@Min(value = 1, message = "页码必须大于0") |
|||
private Integer pageIndex; |
|||
|
|||
/** |
|||
* 页容量 |
|||
*/ |
|||
@Min(value = 1, message = "每页条数必须大于0") |
|||
private Integer pageSize; |
|||
|
|||
/** |
|||
* 用户ID |
|||
*/ |
|||
@NotBlank(message = "获取用户信息失败") |
|||
private String userId; |
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.elink.esua.epdc.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.Min; |
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author:liuchuang |
|||
* @Date:2021/7/19 16:07 |
|||
*/ |
|||
@Data |
|||
public class ApiVolunteerPointsRecordsFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 1625467226873432125L; |
|||
|
|||
/** |
|||
* 页码 |
|||
*/ |
|||
@Min(value = 1, message = "页码必须大于0") |
|||
private Integer pageIndex; |
|||
|
|||
/** |
|||
* 页容量 |
|||
*/ |
|||
@Min(value = 1, message = "每页条数必须大于0") |
|||
private Integer pageSize; |
|||
|
|||
/** |
|||
* 用户ID |
|||
*/ |
|||
@NotBlank(message = "获取用户信息失败") |
|||
private String userId; |
|||
} |
@ -0,0 +1,44 @@ |
|||
package com.elink.esua.epdc.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author:liuchuang |
|||
* @Date:2021/7/15 14:45 |
|||
*/ |
|||
@Data |
|||
public class ApiVolunteerPointsRecordsResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -286937478420813680L; |
|||
|
|||
/** |
|||
* 积分记录ID |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 昵称 |
|||
*/ |
|||
private String nickname; |
|||
|
|||
/** |
|||
* 活动名称 |
|||
*/ |
|||
private String actName; |
|||
|
|||
/** |
|||
* 积分记录时间 |
|||
*/ |
|||
private String operationTime; |
|||
|
|||
/** |
|||
* 积分 |
|||
*/ |
|||
private Integer volunteerPoints; |
|||
|
|||
/** |
|||
* 积分操作类型 0-减积分,1-加积分 |
|||
*/ |
|||
private String operationType; |
|||
} |
Loading…
Reference in new issue