8 changed files with 326 additions and 0 deletions
@ -0,0 +1,44 @@ |
|||||
|
package com.elink.esua.epdc.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.Min; |
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.Size; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 积分核销表单 |
||||
|
* |
||||
|
* @author Liuchuang |
||||
|
* @since 2021/1/19 15:47 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EpdcWorkPointsVerificationFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 499510543162448451L; |
||||
|
|
||||
|
/** |
||||
|
* 用户ID |
||||
|
*/ |
||||
|
@NotBlank(message = "用户ID不能为空") |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 积分操作类型 0-减积分,1-加积分 |
||||
|
*/ |
||||
|
@NotBlank(message = "积分操作类型不能为空") |
||||
|
private String operationType; |
||||
|
|
||||
|
/** |
||||
|
* 操作积分值 |
||||
|
*/ |
||||
|
@Min(value = 1, message = "操作积分值必须大于0") |
||||
|
private Integer points; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
@NotBlank(message = "核销说明不能为空") |
||||
|
@Size(min = 1, max = 10, message = "核销说明10字以内") |
||||
|
private String remark; |
||||
|
} |
@ -0,0 +1,54 @@ |
|||||
|
package com.elink.esua.epdc.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.Min; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 工作端获取核销记录formDTO |
||||
|
* |
||||
|
* @author Liuchuang |
||||
|
* @since 2021/1/19 16:59 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EpdcWorkVerificationLogsFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -2519917462142795840L; |
||||
|
|
||||
|
/** |
||||
|
* 页码 |
||||
|
*/ |
||||
|
@Min(value = 1, message = "页码必须大于0") |
||||
|
private Integer pageIndex; |
||||
|
|
||||
|
/** |
||||
|
* 页容量 |
||||
|
*/ |
||||
|
@Min(value = 1, message = "页容量必须大于0") |
||||
|
private Integer pageSize; |
||||
|
|
||||
|
/** |
||||
|
* 开始时间 |
||||
|
*/ |
||||
|
private String startTime; |
||||
|
|
||||
|
/** |
||||
|
* 结束时间 |
||||
|
*/ |
||||
|
private String endTime; |
||||
|
|
||||
|
/** |
||||
|
* 部门ID |
||||
|
*/ |
||||
|
private Long deptId; |
||||
|
|
||||
|
/** |
||||
|
* 当前用户所属部门ID |
||||
|
*/ |
||||
|
private Long currentUserDeptId; |
||||
|
|
||||
|
/** |
||||
|
* 操作方式 user-用户操作,admin-管理员操作,sys-系统操作, work_jfhx-工作端-扫描兑换码-积分核销 |
||||
|
*/ |
||||
|
private String operationMode; |
||||
|
} |
@ -0,0 +1,39 @@ |
|||||
|
package com.elink.esua.epdc.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.Min; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 查询积分记录 表单 |
||||
|
* |
||||
|
* @author Liuchuang |
||||
|
* @since 2021/1/19 14:08 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PointsExchangeLogsFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 7021642608531330184L; |
||||
|
|
||||
|
/** |
||||
|
* 用户ID |
||||
|
*/ |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 积分动作编码 |
||||
|
*/ |
||||
|
private String behaviorCode; |
||||
|
|
||||
|
/** |
||||
|
* 页码 |
||||
|
*/ |
||||
|
@Min(value = 1, message = "页码必须大于0") |
||||
|
private Integer pageIndex; |
||||
|
|
||||
|
/** |
||||
|
* 页容量 |
||||
|
*/ |
||||
|
@Min(value = 1, message = "页容量必须大于0") |
||||
|
private Integer pageSize; |
||||
|
} |
@ -0,0 +1,27 @@ |
|||||
|
package com.elink.esua.epdc.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 核销记录 |
||||
|
* |
||||
|
* @author Liuchuang |
||||
|
* @since 2021/1/19 17:36 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EpdcVerificationLogsResultDTO<T> implements Serializable { |
||||
|
private static final long serialVersionUID = -6338967854031776740L; |
||||
|
|
||||
|
/** |
||||
|
* 核销总积分 |
||||
|
*/ |
||||
|
private Integer pointsTotal; |
||||
|
|
||||
|
/** |
||||
|
* 核销记录 |
||||
|
*/ |
||||
|
private List<T> verificationLogs; |
||||
|
} |
@ -0,0 +1,82 @@ |
|||||
|
/** |
||||
|
* Copyright 2018 人人开源 https://www.renren.io
|
||||
|
* <p> |
||||
|
* This program is free software: you can redistribute it and/or modify |
||||
|
* it under the terms of the GNU General Public License as published by |
||||
|
* the Free Software Foundation, either version 3 of the License, or |
||||
|
* (at your option) any later version. |
||||
|
* <p> |
||||
|
* This program is distributed in the hope that it will be useful, |
||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
* GNU General Public License for more details. |
||||
|
* <p> |
||||
|
* You should have received a copy of the GNU General Public License |
||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
*/ |
||||
|
|
||||
|
package com.elink.esua.epdc.dto.epdc; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 用户积分核销二维码表 |
||||
|
* |
||||
|
* @author qu qu@elink-cn.com |
||||
|
* @since v1.0.0 2021-01-18 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class UserPointsVerificationQrCodeDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** |
||||
|
* 主键 |
||||
|
*/ |
||||
|
private String id; |
||||
|
|
||||
|
/** |
||||
|
* 用户ID |
||||
|
*/ |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 二维码地址 |
||||
|
*/ |
||||
|
private String codeUrl; |
||||
|
|
||||
|
/** |
||||
|
* 删除标记:0-否,1-是 |
||||
|
*/ |
||||
|
private String delFlag; |
||||
|
|
||||
|
/** |
||||
|
* 乐观锁 |
||||
|
*/ |
||||
|
private Integer revision; |
||||
|
|
||||
|
/** |
||||
|
* 创建人 |
||||
|
*/ |
||||
|
private String createdBy; |
||||
|
|
||||
|
/** |
||||
|
* 创建时间 |
||||
|
*/ |
||||
|
private Date createdTime; |
||||
|
|
||||
|
/** |
||||
|
* 更新人 |
||||
|
*/ |
||||
|
private String updatedBy; |
||||
|
|
||||
|
/** |
||||
|
* 更新时间 |
||||
|
*/ |
||||
|
private Date updatedTime; |
||||
|
|
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.elink.esua.epdc.dto.epdc.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 兑换码校验表单 |
||||
|
* |
||||
|
* @author Liuchuang |
||||
|
* @since 2021/1/20 11:08 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EpdcUserPointsVerificationCheckFormDTO implements Serializable { |
||||
|
private static final long serialVersionUID = -5573771550554955607L; |
||||
|
|
||||
|
/** |
||||
|
* 兑换码ID |
||||
|
*/ |
||||
|
@NotBlank(message = "兑换码ID不能为空") |
||||
|
private String qrCodeId; |
||||
|
} |
@ -0,0 +1,36 @@ |
|||||
|
package com.elink.esua.epdc.dto.epdc.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 用户信息 |
||||
|
* |
||||
|
* @author Liuchuang |
||||
|
* @since 2021/1/19 14:58 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class EpdcUserPointsVerificationResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 8116531573516487358L; |
||||
|
|
||||
|
/** |
||||
|
* 用户ID |
||||
|
*/ |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 用户真实姓名 |
||||
|
*/ |
||||
|
private String realName; |
||||
|
|
||||
|
/** |
||||
|
* 用户头像 |
||||
|
*/ |
||||
|
private String faceImg; |
||||
|
|
||||
|
/** |
||||
|
* 用户积分 |
||||
|
*/ |
||||
|
private Integer points; |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.elink.esua.epdc.dto.epdc.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 用户积分核销二维码 |
||||
|
* |
||||
|
* @author Liuchuang |
||||
|
* @since 2021/1/19 10:51 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class UserPointsVerificationResultDTO implements Serializable { |
||||
|
private static final long serialVersionUID = 567506783648999124L; |
||||
|
|
||||
|
/** |
||||
|
* 二维码地址 |
||||
|
*/ |
||||
|
private String codeUrl; |
||||
|
} |
Loading…
Reference in new issue