|
@@ -1,102 +1,68 @@
|
|
package com.ym.mec.biz.dal.entity;
|
|
package com.ym.mec.biz.dal.entity;
|
|
|
|
|
|
-import com.ym.mec.biz.dal.enums.DealStatusEnum;
|
|
|
|
-import com.ym.mec.biz.dal.enums.PlatformCashAccountDetailTypeEnum;
|
|
|
|
-import com.ym.mec.biz.dal.enums.TransTypeEnum;
|
|
|
|
|
|
+import com.ym.mec.biz.dal.enums.GroupType;
|
|
|
|
+import com.ym.mec.biz.dal.enums.ReturnFeeEnum;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
|
|
+import java.util.Date;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 对应数据库表(sys_user_cash_account_log):
|
|
* 对应数据库表(sys_user_cash_account_log):
|
|
*/
|
|
*/
|
|
public class SysUserCashAccountLog {
|
|
public class SysUserCashAccountLog {
|
|
|
|
|
|
- /** 序号 */
|
|
|
|
- @ApiModelProperty(value = "序号",required = false)
|
|
|
|
- private Long id;
|
|
|
|
|
|
+ @ApiModelProperty(value = "id")
|
|
|
|
+ private Integer id;
|
|
|
|
|
|
- /** 用户编号 */
|
|
|
|
- @ApiModelProperty(value = "用户编号",required = false)
|
|
|
|
|
|
+ @ApiModelProperty(value = "用户编号")
|
|
private Integer userId;
|
|
private Integer userId;
|
|
|
|
|
|
- @ApiModelProperty(value = "手机号",required = false)
|
|
|
|
- private String phone;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "姓名",required = false)
|
|
|
|
|
|
+ @ApiModelProperty(value = "学员姓名")
|
|
private String username;
|
|
private String username;
|
|
|
|
|
|
- @ApiModelProperty(value = "声部",required = false)
|
|
|
|
- private String subjectName;
|
|
|
|
|
|
+ @ApiModelProperty(value = "分部")
|
|
|
|
+ private Integer organId;
|
|
|
|
|
|
- /** 交易流水号 */
|
|
|
|
- @ApiModelProperty(value = "交易流水号",required = false)
|
|
|
|
- private String transNo;
|
|
|
|
|
|
+ @ApiModelProperty(value = "分部")
|
|
|
|
+ private String organName;
|
|
|
|
|
|
- /** 交易类型 (RECHARGE 充值,WITHDRAW 提现,PAY_FEE 缴费,REFUNDS 退费,FILL_ACCOUNT 人工补账) */
|
|
|
|
- @ApiModelProperty(value = "交易类型",required = false)
|
|
|
|
- private PlatformCashAccountDetailTypeEnum type;
|
|
|
|
|
|
+ @ApiModelProperty(value = "课程组类型")
|
|
|
|
+ private GroupType groupType;
|
|
|
|
|
|
- /** 交易方式1.微信,2支付宝,3快捷*/
|
|
|
|
- @ApiModelProperty(value = "交易方式",required = false)
|
|
|
|
- private TransTypeEnum transType;
|
|
|
|
|
|
+ @ApiModelProperty(value = "课程组编号")
|
|
|
|
+ private String groupId;
|
|
|
|
|
|
- /** 交易状态(1,交易中;2,成功交易;-1,交易失败;) */
|
|
|
|
- @ApiModelProperty(value = "交易状态",required = false)
|
|
|
|
- private DealStatusEnum status;
|
|
|
|
|
|
+ @ApiModelProperty(value = "课程组名称")
|
|
|
|
+ private String groupName;
|
|
|
|
|
|
- /** 交易金额 */
|
|
|
|
- @ApiModelProperty(value = "交易金额",required = false)
|
|
|
|
|
|
+ @ApiModelProperty(value = "退费金额")
|
|
private BigDecimal amount;
|
|
private BigDecimal amount;
|
|
|
|
|
|
- /** 公户金额 */
|
|
|
|
- @ApiModelProperty(value = "公户金额",required = false)
|
|
|
|
- private BigDecimal comAmount;
|
|
|
|
-
|
|
|
|
- /** 私户金额 */
|
|
|
|
- @ApiModelProperty(value = "私户金额",required = false)
|
|
|
|
- private BigDecimal perAmount;
|
|
|
|
-
|
|
|
|
- /** 账户可用余额 */
|
|
|
|
- @ApiModelProperty(value = "账户可用余额",required = false)
|
|
|
|
- private BigDecimal balance;
|
|
|
|
-
|
|
|
|
- /** 描述 */
|
|
|
|
- @ApiModelProperty(value = "描述",required = false)
|
|
|
|
- private String description;
|
|
|
|
-
|
|
|
|
- /** 后台备注 */
|
|
|
|
- @ApiModelProperty(value = "后台备注",required = false)
|
|
|
|
- private String comment;
|
|
|
|
-
|
|
|
|
- /** 创建时间 */
|
|
|
|
- private java.util.Date createTime;
|
|
|
|
-
|
|
|
|
- /** 修改时间 */
|
|
|
|
- private java.util.Date updateTime;
|
|
|
|
|
|
+ @ApiModelProperty(value = "退费类型")
|
|
|
|
+ private ReturnFeeEnum returnFeeType;
|
|
|
|
|
|
- private String attribute;
|
|
|
|
|
|
+ @ApiModelProperty(value = "打款时间")
|
|
|
|
+ private Date payTime;
|
|
|
|
|
|
- /** 描述 */
|
|
|
|
- @ApiModelProperty(value = "支付渠道",required = false)
|
|
|
|
- private String channel;
|
|
|
|
|
|
+ @ApiModelProperty(value = "交易流水号")
|
|
|
|
+ private String transNo;
|
|
|
|
|
|
- /** 备注 */
|
|
|
|
- @ApiModelProperty(value = "平台账户号",required = false)
|
|
|
|
- private String platformAccountNo;
|
|
|
|
|
|
+ @ApiModelProperty(value = "创建时间")
|
|
|
|
+ private Date createTime;
|
|
|
|
|
|
- private String organName;
|
|
|
|
|
|
+ @ApiModelProperty(value = "修改时间")
|
|
|
|
+ private Date updateTime;
|
|
|
|
|
|
- /** vip课程后台添加学员时关联的id */
|
|
|
|
- private Long groupId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "备注")
|
|
|
|
+ private String comment;
|
|
|
|
|
|
- public Long getGroupId() {
|
|
|
|
- return groupId;
|
|
|
|
|
|
+ public String getUsername() {
|
|
|
|
+ return username;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setGroupId(Long groupId) {
|
|
|
|
- this.groupId = groupId;
|
|
|
|
|
|
+ public void setUsername(String username) {
|
|
|
|
+ this.username = username;
|
|
}
|
|
}
|
|
|
|
|
|
public String getOrganName() {
|
|
public String getOrganName() {
|
|
@@ -107,76 +73,60 @@ public class SysUserCashAccountLog {
|
|
this.organName = organName;
|
|
this.organName = organName;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getPhone() {
|
|
|
|
- return phone;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setPhone(String phone) {
|
|
|
|
- this.phone = phone;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getUsername() {
|
|
|
|
- return username;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUsername(String username) {
|
|
|
|
- this.username = username;
|
|
|
|
|
|
+ public String getGroupName() {
|
|
|
|
+ return groupName;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getSubjectName() {
|
|
|
|
- return subjectName;
|
|
|
|
|
|
+ public void setGroupName(String groupName) {
|
|
|
|
+ this.groupName = groupName;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setSubjectName(String subjectName) {
|
|
|
|
- this.subjectName = subjectName;
|
|
|
|
|
|
+ public String getComment() {
|
|
|
|
+ return comment;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getAttribute() {
|
|
|
|
- return attribute;
|
|
|
|
|
|
+ public void setComment(String comment) {
|
|
|
|
+ this.comment = comment;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setAttribute(String attribute) {
|
|
|
|
- this.attribute = attribute;
|
|
|
|
|
|
+ public Integer getId() {
|
|
|
|
+ return id;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setId(Long id){
|
|
|
|
|
|
+ public void setId(Integer id) {
|
|
this.id = id;
|
|
this.id = id;
|
|
}
|
|
}
|
|
|
|
|
|
- public Long getId(){
|
|
|
|
- return this.id;
|
|
|
|
|
|
+ public Integer getUserId() {
|
|
|
|
+ return userId;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setUserId(Integer userId){
|
|
|
|
|
|
+ public void setUserId(Integer userId) {
|
|
this.userId = userId;
|
|
this.userId = userId;
|
|
}
|
|
}
|
|
|
|
|
|
- public Integer getUserId(){
|
|
|
|
- return this.userId;
|
|
|
|
|
|
+ public Integer getOrganId() {
|
|
|
|
+ return organId;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setTransNo(String transNo){
|
|
|
|
- this.transNo = transNo;
|
|
|
|
|
|
+ public void setOrganId(Integer organId) {
|
|
|
|
+ this.organId = organId;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getTransNo(){
|
|
|
|
- return this.transNo;
|
|
|
|
|
|
+ public GroupType getGroupType() {
|
|
|
|
+ return groupType;
|
|
}
|
|
}
|
|
|
|
|
|
- public PlatformCashAccountDetailTypeEnum getType() {
|
|
|
|
- return type;
|
|
|
|
|
|
+ public void setGroupType(GroupType groupType) {
|
|
|
|
+ this.groupType = groupType;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setType(PlatformCashAccountDetailTypeEnum type) {
|
|
|
|
- this.type = type;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public DealStatusEnum getStatus() {
|
|
|
|
- return status;
|
|
|
|
|
|
+ public String getGroupId() {
|
|
|
|
+ return groupId;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setStatus(DealStatusEnum status) {
|
|
|
|
- this.status = status;
|
|
|
|
|
|
+ public void setGroupId(String groupId) {
|
|
|
|
+ this.groupId = groupId;
|
|
}
|
|
}
|
|
|
|
|
|
public BigDecimal getAmount() {
|
|
public BigDecimal getAmount() {
|
|
@@ -187,88 +137,43 @@ public class SysUserCashAccountLog {
|
|
this.amount = amount;
|
|
this.amount = amount;
|
|
}
|
|
}
|
|
|
|
|
|
- public BigDecimal getBalance() {
|
|
|
|
- return balance;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setBalance(BigDecimal balance) {
|
|
|
|
- this.balance = balance;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setDescription(String description){
|
|
|
|
- this.description = description;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getDescription(){
|
|
|
|
- return this.description;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setComment(String comment){
|
|
|
|
- this.comment = comment;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getComment(){
|
|
|
|
- return this.comment;
|
|
|
|
|
|
+ public ReturnFeeEnum getReturnFeeType() {
|
|
|
|
+ return returnFeeType;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setCreateTime(java.util.Date createTime){
|
|
|
|
- this.createTime = createTime;
|
|
|
|
|
|
+ public void setReturnFeeType(ReturnFeeEnum returnFeeType) {
|
|
|
|
+ this.returnFeeType = returnFeeType;
|
|
}
|
|
}
|
|
|
|
|
|
- public java.util.Date getCreateTime(){
|
|
|
|
- return this.createTime;
|
|
|
|
|
|
+ public Date getPayTime() {
|
|
|
|
+ return payTime;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setUpdateTime(java.util.Date updateTime){
|
|
|
|
- this.updateTime = updateTime;
|
|
|
|
|
|
+ public void setPayTime(Date payTime) {
|
|
|
|
+ this.payTime = payTime;
|
|
}
|
|
}
|
|
|
|
|
|
- public java.util.Date getUpdateTime(){
|
|
|
|
- return this.updateTime;
|
|
|
|
|
|
+ public String getTransNo() {
|
|
|
|
+ return transNo;
|
|
}
|
|
}
|
|
|
|
|
|
- public TransTypeEnum getTransType() {
|
|
|
|
- return transType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setTransType(TransTypeEnum transType) {
|
|
|
|
- this.transType = transType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getChannel() {
|
|
|
|
- return channel;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setChannel(String channel) {
|
|
|
|
- this.channel = channel;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getPlatformAccountNo() {
|
|
|
|
- return platformAccountNo;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setPlatformAccountNo(String platformAccountNo) {
|
|
|
|
- this.platformAccountNo = platformAccountNo;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public BigDecimal getComAmount() {
|
|
|
|
- return comAmount;
|
|
|
|
|
|
+ public void setTransNo(String transNo) {
|
|
|
|
+ this.transNo = transNo;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setComAmount(BigDecimal comAmount) {
|
|
|
|
- this.comAmount = comAmount;
|
|
|
|
|
|
+ public Date getCreateTime() {
|
|
|
|
+ return createTime;
|
|
}
|
|
}
|
|
|
|
|
|
- public BigDecimal getPerAmount() {
|
|
|
|
- return perAmount;
|
|
|
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
|
+ this.createTime = createTime;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setPerAmount(BigDecimal perAmount) {
|
|
|
|
- this.perAmount = perAmount;
|
|
|
|
|
|
+ public Date getUpdateTime() {
|
|
|
|
+ return updateTime;
|
|
}
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
|
- public String toString() {
|
|
|
|
- return ToStringBuilder.reflectionToString(this);
|
|
|
|
|
|
+ public void setUpdateTime(Date updateTime) {
|
|
|
|
+ this.updateTime = updateTime;
|
|
}
|
|
}
|
|
}
|
|
}
|