|
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.AuthStatusEnum;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
@@ -14,11 +15,11 @@ import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 老师账户提现表
|
|
|
|
|
|
+ * 用户账户提现表
|
|
*/
|
|
*/
|
|
-@TableName("teacher_withdrawal")
|
|
|
|
-@ApiModel(value = "TeacherWithdrawal对象", description = "老师账户提现表")
|
|
|
|
-public class TeacherWithdrawal implements Serializable {
|
|
|
|
|
|
+@TableName("user_withdrawal")
|
|
|
|
+@ApiModel(value = "UserWithdrawal对象", description = "用户账户提现表")
|
|
|
|
+public class UserWithdrawal implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
@ApiModelProperty("提现id ")
|
|
@ApiModelProperty("提现id ")
|
|
@TableId(value = "id_", type = IdType.AUTO)
|
|
@TableId(value = "id_", type = IdType.AUTO)
|
|
@@ -26,9 +27,6 @@ public class TeacherWithdrawal implements Serializable {
|
|
@ApiModelProperty("用户表id ")
|
|
@ApiModelProperty("用户表id ")
|
|
@TableField(value = "user_id_")
|
|
@TableField(value = "user_id_")
|
|
private Long userId;
|
|
private Long userId;
|
|
- @ApiModelProperty("账户变动记录id ")
|
|
|
|
- @TableField(value = "user_account_record_id_")
|
|
|
|
- private Long userAccountRecordId;
|
|
|
|
@ApiModelProperty("提现金额 ")
|
|
@ApiModelProperty("提现金额 ")
|
|
@TableField(value = "amount_")
|
|
@TableField(value = "amount_")
|
|
private BigDecimal amount;
|
|
private BigDecimal amount;
|
|
@@ -37,13 +35,10 @@ public class TeacherWithdrawal implements Serializable {
|
|
private BigDecimal plantformFee;
|
|
private BigDecimal plantformFee;
|
|
@ApiModelProperty("实际到账金额 ")
|
|
@ApiModelProperty("实际到账金额 ")
|
|
@TableField(value = "actual_amount_")
|
|
@TableField(value = "actual_amount_")
|
|
- private String actualAmount;
|
|
|
|
|
|
+ private BigDecimal actualAmount;
|
|
@ApiModelProperty("银行卡 ")
|
|
@ApiModelProperty("银行卡 ")
|
|
@TableField(value = "bank_card_")
|
|
@TableField(value = "bank_card_")
|
|
private String bankCard;
|
|
private String bankCard;
|
|
- @ApiModelProperty("开户行 ")
|
|
|
|
- @TableField(value = "bank_name_")
|
|
|
|
- private String bankName;
|
|
|
|
@ApiModelProperty("银行流水号 ")
|
|
@ApiModelProperty("银行流水号 ")
|
|
@TableField(value = "bank_flow_no_")
|
|
@TableField(value = "bank_flow_no_")
|
|
private String bankFlowNo;
|
|
private String bankFlowNo;
|
|
@@ -52,6 +47,11 @@ public class TeacherWithdrawal implements Serializable {
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
|
private Date transferTime;
|
|
private Date transferTime;
|
|
|
|
+ @ApiModelProperty("提现状态 DOING、审核中 PASS、通过 UNPASS、不通过")
|
|
|
|
+ @TableField(value = "status_")
|
|
|
|
+ private AuthStatusEnum status;
|
|
|
|
+ @ApiModelProperty("审核人")
|
|
|
|
+ private Long verifyUserId;
|
|
@ApiModelProperty("发起时间 ")
|
|
@ApiModelProperty("发起时间 ")
|
|
@TableField(value = "create_time_")
|
|
@TableField(value = "create_time_")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@@ -62,9 +62,7 @@ public class TeacherWithdrawal implements Serializable {
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
|
private Date updateTime;
|
|
private Date updateTime;
|
|
- @ApiModelProperty("提现状态 ")
|
|
|
|
- @TableField(value = "status_")
|
|
|
|
- private Byte status;
|
|
|
|
|
|
+
|
|
|
|
|
|
public Long getId() {
|
|
public Long getId() {
|
|
return id;
|
|
return id;
|
|
@@ -82,14 +80,6 @@ public class TeacherWithdrawal implements Serializable {
|
|
this.userId = userId;
|
|
this.userId = userId;
|
|
}
|
|
}
|
|
|
|
|
|
- public Long getUserAccountRecordId() {
|
|
|
|
- return userAccountRecordId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUserAccountRecordId(Long userAccountRecordId) {
|
|
|
|
- this.userAccountRecordId = userAccountRecordId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public BigDecimal getAmount() {
|
|
public BigDecimal getAmount() {
|
|
return amount;
|
|
return amount;
|
|
}
|
|
}
|
|
@@ -106,11 +96,11 @@ public class TeacherWithdrawal implements Serializable {
|
|
this.plantformFee = plantformFee;
|
|
this.plantformFee = plantformFee;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getActualAmount() {
|
|
|
|
|
|
+ public BigDecimal getActualAmount() {
|
|
return actualAmount;
|
|
return actualAmount;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setActualAmount(String actualAmount) {
|
|
|
|
|
|
+ public void setActualAmount(BigDecimal actualAmount) {
|
|
this.actualAmount = actualAmount;
|
|
this.actualAmount = actualAmount;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -121,15 +111,7 @@ public class TeacherWithdrawal implements Serializable {
|
|
public void setBankCard(String bankCard) {
|
|
public void setBankCard(String bankCard) {
|
|
this.bankCard = bankCard;
|
|
this.bankCard = bankCard;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public String getBankName() {
|
|
|
|
- return bankName;
|
|
|
|
- }
|
|
|
|
|
|
|
|
- public void setBankName(String bankName) {
|
|
|
|
- this.bankName = bankName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public String getBankFlowNo() {
|
|
public String getBankFlowNo() {
|
|
return bankFlowNo;
|
|
return bankFlowNo;
|
|
}
|
|
}
|
|
@@ -161,13 +143,20 @@ public class TeacherWithdrawal implements Serializable {
|
|
public void setUpdateTime(Date updateTime) {
|
|
public void setUpdateTime(Date updateTime) {
|
|
this.updateTime = updateTime;
|
|
this.updateTime = updateTime;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public Byte getStatus() {
|
|
|
|
|
|
+
|
|
|
|
+ public AuthStatusEnum getStatus() {
|
|
return status;
|
|
return status;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setStatus(Byte status) {
|
|
|
|
|
|
+ public void setStatus(AuthStatusEnum status) {
|
|
this.status = status;
|
|
this.status = status;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ public Long getVerifyUserId() {
|
|
|
|
+ return verifyUserId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setVerifyUserId(Long verifyUserId) {
|
|
|
|
+ this.verifyUserId = verifyUserId;
|
|
|
|
+ }
|
|
}
|
|
}
|