Browse Source

积分记录代码生成

feature/syp_points
songyunpeng 5 years ago
parent
commit
e950691b7c
  1. 58
      esua-epdc/epdc-module/epdc-points/epdc-points-client/src/main/java/com/elink/esua/epdc/dto/form/PointsLogsFormDTO.java
  2. 71
      esua-epdc/epdc-module/epdc-points/epdc-points-client/src/main/java/com/elink/esua/epdc/dto/result/BehaviorResultDto.java
  3. 122
      esua-epdc/epdc-module/epdc-points/epdc-points-client/src/main/java/com/elink/esua/epdc/dto/result/PointsLogsResultDTO.java
  4. 122
      esua-epdc/epdc-module/epdc-points/epdc-points-client/src/main/java/com/elink/esua/epdc/dto/result/PointsRuleResultDTO.java

58
esua-epdc/epdc-module/epdc-points/epdc-points-client/src/main/java/com/elink/esua/epdc/dto/form/PointsLogsFormDTO.java

@ -0,0 +1,58 @@
/**
* 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.form;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
/**
* 积分记录查询 参数
*
* @author elink elink@elink-cn.com
* @since v1.0.0 2020-04-29
*/
@Data
public class PointsLogsFormDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 用户ID
*/
@NotNull
private String userId;
/**
* 关联表ID
*/
@NotNull
private String referenceId;
/**
* 积分行为编码
*/
@NotNull
private String behaviorCode;
}

71
esua-epdc/epdc-module/epdc-points/epdc-points-client/src/main/java/com/elink/esua/epdc/dto/result/BehaviorResultDto.java

@ -0,0 +1,71 @@
package com.elink.esua.epdc.dto.result;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* @author songyunpeng
* @Description
* @create 2020-04-28
*/
@Data
public class BehaviorResultDto implements Serializable {
private static final long serialVersionUID = 5458618984429715932L;
/**
* ID
*/
private String id;
/**
* 动作编码
*/
private String behaviorCode;
/**
* 动作描述
*/
private String behaviorDesc;
/**
* 动作记录时机 0-方法执行前1-方法执行后
*/
private String behaviorRecordingTime;
/**
* 备注
*/
private String remark;
/**
* 乐观锁
*/
private Integer revision;
/**
* 删除标识 0-1-
*/
private String delFlag;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

122
esua-epdc/epdc-module/epdc-points/epdc-points-client/src/main/java/com/elink/esua/epdc/dto/result/PointsLogsResultDTO.java

@ -0,0 +1,122 @@
/**
* 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.result;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 积分记录表 积分记录表
*
* @author elink elink@elink-cn.com
* @since v1.0.0 2020-04-29
*/
@Data
public class PointsLogsResultDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* ID
*/
private String id;
/**
* 用户ID
*/
private String userId;
/**
* 关联表ID
*/
private String referenceId;
/**
* 积分规则编码
*/
private String ruleCode;
/**
* 积分行为编码
*/
private String behaviorCode;
/**
* 积分操作类型 0-减积分1-加积分
*/
private String operationType;
/**
* 操作积分值
*/
private Integer points;
/**
* 操作描述
*/
private String operationDesc;
/**
* 操作时间
*/
private Date operationTime;
/**
* 操作方式 user-用户操作admin-管理员操作sys-系统操作
*/
private String operationMode;
/**
* 剩余积分值
*/
private Integer lavePoints;
/**
* 乐观锁
*/
private Integer revision;
/**
* 删除标识 0-1-
*/
private String delFlag;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

122
esua-epdc/epdc-module/epdc-points/epdc-points-client/src/main/java/com/elink/esua/epdc/dto/result/PointsRuleResultDTO.java

@ -0,0 +1,122 @@
/**
* 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.result;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 积分规则管理表 积分规则管理表
*
* @author zhangyong
* @since v1.0.0 2020-04-28
*/
@Data
public class PointsRuleResultDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* ID
*/
private String id;
/**
* 积分规则编码
*/
private String ruleCode;
/**
* 动作编码
*/
private String behaviorCode;
/**
* 积分规则描述
*/
private String ruleDesc;
/**
* 规则操作类型 0-减积分1-加积分
*/
private String operationType;
/**
* 积分规则值
*/
private Integer points;
/**
* 上线统计指标 0-分钟1-小时2-3-4-
*/
private String limitType;
/**
* 积分上限值
*/
private Integer upperLimitVal;
/**
* 启用标识 0-1-
*/
private String enableFlag;
/**
* 附加值
*/
private String addedVal;
/**
* 备注
*/
private String remark;
/**
* 乐观锁
*/
private Integer revision;
/**
* 删除标识 0-1-
*/
private String delFlag;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}
Loading…
Cancel
Save