|
@@ -1,16 +1,19 @@
|
|
|
package com.yonge.cooleshow.biz.dal.entity;
|
|
|
|
|
|
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
-import io.swagger.annotations.ApiModel;
|
|
|
-import io.swagger.annotations.ApiModelProperty;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
-
|
|
|
-import java.io.Serializable;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.AccountBizTypeEnum;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.InOrOutEnum;
|
|
|
+import com.yonge.cooleshow.common.enums.PostStatusEnum;
|
|
|
|
|
|
/**
|
|
|
* 平台账户流水表(PlatformCashAccountRecord)表实体类
|
|
@@ -34,15 +37,15 @@ public class PlatformCashAccountRecord implements Serializable {
|
|
|
|
|
|
@TableField("in_or_out_")
|
|
|
@ApiModelProperty(value = "收支类型:IN、收入 OUT、支出")
|
|
|
- private String inOrOut;
|
|
|
+ private InOrOutEnum inOrOut;
|
|
|
|
|
|
@TableField("post_status_")
|
|
|
@ApiModelProperty(value = "入账状态 WAIT 待入账 RECORDED 已入账 CANCEL 取消")
|
|
|
- private String postStatus;
|
|
|
+ private PostStatusEnum postStatus;
|
|
|
|
|
|
@TableField("biz_type_")
|
|
|
@ApiModelProperty(value = "业务类型:PRACTICE、陪练课 LIVE、直播课 VIDEO、视频课 MUSIC、乐谱")
|
|
|
- private String bizType;
|
|
|
+ private AccountBizTypeEnum bizType;
|
|
|
|
|
|
@TableField("biz_id_")
|
|
|
@ApiModelProperty(value = "业务id(陪练课,直播课course_schedule_id_ | 视频课,乐谱为课程组曲子id | 提现为提现记录id)")
|
|
@@ -89,31 +92,31 @@ public class PlatformCashAccountRecord implements Serializable {
|
|
|
this.transAmount = transAmount;
|
|
|
}
|
|
|
|
|
|
- public String getInOrOut() {
|
|
|
- return inOrOut;
|
|
|
- }
|
|
|
+ public InOrOutEnum getInOrOut() {
|
|
|
+ return inOrOut;
|
|
|
+ }
|
|
|
|
|
|
- public void setInOrOut(String inOrOut) {
|
|
|
- this.inOrOut = inOrOut;
|
|
|
- }
|
|
|
+ public void setInOrOut(InOrOutEnum inOrOut) {
|
|
|
+ this.inOrOut = inOrOut;
|
|
|
+ }
|
|
|
|
|
|
- public String getPostStatus() {
|
|
|
- return postStatus;
|
|
|
- }
|
|
|
+ public PostStatusEnum getPostStatus() {
|
|
|
+ return postStatus;
|
|
|
+ }
|
|
|
|
|
|
- public void setPostStatus(String postStatus) {
|
|
|
- this.postStatus = postStatus;
|
|
|
- }
|
|
|
+ public void setPostStatus(PostStatusEnum postStatus) {
|
|
|
+ this.postStatus = postStatus;
|
|
|
+ }
|
|
|
|
|
|
- public String getBizType() {
|
|
|
- return bizType;
|
|
|
- }
|
|
|
+ public AccountBizTypeEnum getBizType() {
|
|
|
+ return bizType;
|
|
|
+ }
|
|
|
|
|
|
- public void setBizType(String bizType) {
|
|
|
- this.bizType = bizType;
|
|
|
- }
|
|
|
+ public void setBizType(AccountBizTypeEnum bizType) {
|
|
|
+ this.bizType = bizType;
|
|
|
+ }
|
|
|
|
|
|
- public Long getBizId() {
|
|
|
+ public Long getBizId() {
|
|
|
return bizId;
|
|
|
}
|
|
|
|