|
@@ -1,14 +1,11 @@
|
|
|
package com.yonge.cooleshow.biz.dal.dto.excel;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
-import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
-import com.yonge.cooleshow.biz.dal.convert.WithdrawalStatusConvert;
|
|
|
+import com.yonge.cooleshow.biz.dal.convert.AuthStatusConvert;
|
|
|
+import com.yonge.cooleshow.biz.dal.convert.TradeStatusConvert;
|
|
|
import com.yonge.cooleshow.biz.dal.enums.AuthStatusEnum;
|
|
|
import com.yonge.toolset.payment.base.enums.TradeStatusEnum;
|
|
|
-import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
-import javax.validation.constraints.NotBlank;
|
|
|
-import javax.validation.constraints.NotNull;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
|
|
@@ -17,37 +14,30 @@ import java.util.Date;
|
|
|
* @Data: 2022/4/15 18:01
|
|
|
*/
|
|
|
public class UserWithdrawalExport {
|
|
|
- @NotNull(message = "结算编号不能为空")
|
|
|
@ExcelProperty(value = "结算编号", index = 0)
|
|
|
private Long id;
|
|
|
@ExcelProperty(value = "结算人", index = 1)
|
|
|
private String withdrawaUser;
|
|
|
- @ExcelProperty(value = "结算人编号", index = 2)
|
|
|
- @NotNull(message = "结算人编号不能为空")
|
|
|
- private Long userId;
|
|
|
- @ExcelProperty(value = "开户行", index = 3)
|
|
|
+ @ExcelProperty(value = "结算金额", index = 2)
|
|
|
+ private BigDecimal amount;
|
|
|
+ @ExcelProperty(value = "发起时间", index = 3)
|
|
|
+ private Date createTime;
|
|
|
+ @ExcelProperty(value = "开户行", index = 4)
|
|
|
private String bankName;
|
|
|
- @ExcelProperty(value = "银行卡号", index = 4)
|
|
|
+ @ExcelProperty(value = "银行卡号", index = 5)
|
|
|
private String bankCard;
|
|
|
- @NotNull(message = "结算金额不能为空")
|
|
|
- @ExcelProperty(value = "结算金额", index = 5)
|
|
|
- private BigDecimal amount;
|
|
|
- @NotNull(message = "平台服务费不能为空")
|
|
|
- @ExcelProperty(value = "平台服务费", index = 6)
|
|
|
- private BigDecimal plantformFee;
|
|
|
- @ExcelProperty(value = "转账金额", index = 7)
|
|
|
+ @ExcelProperty(value = "转账金额(元)", index = 6)
|
|
|
private BigDecimal actualAmount;
|
|
|
-
|
|
|
- @NotNull(message = "结算状态不能为空")
|
|
|
- @ExcelProperty(value = "结算状态 审核中/通过/不通过", index = 8,converter = WithdrawalStatusConvert.class)
|
|
|
- private TradeStatusEnum status;
|
|
|
- /*@ExcelProperty(value = "审核原因", index = 9)
|
|
|
- private String verifyReason;*/
|
|
|
- @ExcelProperty(value = "银行流水号", index = 9)
|
|
|
- private String bankFlowNo;
|
|
|
- /*@NotBlank(message = "签名不能为空")
|
|
|
- @ExcelProperty(value = "签名", index = 11)
|
|
|
- private String sign;*/
|
|
|
+ @ExcelProperty(value = "银行流水号", index = 7)
|
|
|
+ private String tradeNo;
|
|
|
+ @ExcelProperty(value = "审核状态", index = 8,converter = AuthStatusConvert.class)
|
|
|
+ private AuthStatusEnum authStatus;
|
|
|
+ @ExcelProperty(value = "转账状态", index = 9,converter = TradeStatusConvert.class)
|
|
|
+ private TradeStatusEnum tradeStatus;
|
|
|
+ @ExcelProperty(value = "审核时间", index = 10)
|
|
|
+ private Date authTime;
|
|
|
+ @ExcelProperty(value = "审核人", index = 11)
|
|
|
+ private String verifyUser;
|
|
|
|
|
|
public Long getId() {
|
|
|
return id;
|
|
@@ -65,12 +55,20 @@ public class UserWithdrawalExport {
|
|
|
this.withdrawaUser = withdrawaUser;
|
|
|
}
|
|
|
|
|
|
- public Long getUserId() {
|
|
|
- return userId;
|
|
|
+ public BigDecimal getAmount() {
|
|
|
+ return amount;
|
|
|
}
|
|
|
|
|
|
- public void setUserId(Long userId) {
|
|
|
- this.userId = userId;
|
|
|
+ public void setAmount(BigDecimal amount) {
|
|
|
+ this.amount = amount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getCreateTime() {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
}
|
|
|
|
|
|
public String getBankName() {
|
|
@@ -89,59 +87,51 @@ public class UserWithdrawalExport {
|
|
|
this.bankCard = bankCard;
|
|
|
}
|
|
|
|
|
|
- public BigDecimal getAmount() {
|
|
|
- return amount;
|
|
|
- }
|
|
|
-
|
|
|
- public void setAmount(BigDecimal amount) {
|
|
|
- this.amount = amount;
|
|
|
+ public BigDecimal getActualAmount() {
|
|
|
+ return actualAmount;
|
|
|
}
|
|
|
|
|
|
- public BigDecimal getPlantformFee() {
|
|
|
- return plantformFee;
|
|
|
+ public void setActualAmount(BigDecimal actualAmount) {
|
|
|
+ this.actualAmount = actualAmount;
|
|
|
}
|
|
|
|
|
|
- public void setPlantformFee(BigDecimal plantformFee) {
|
|
|
- this.plantformFee = plantformFee;
|
|
|
+ public String getTradeNo() {
|
|
|
+ return tradeNo;
|
|
|
}
|
|
|
|
|
|
- public BigDecimal getActualAmount() {
|
|
|
- return actualAmount;
|
|
|
+ public void setTradeNo(String tradeNo) {
|
|
|
+ this.tradeNo = tradeNo;
|
|
|
}
|
|
|
|
|
|
- public void setActualAmount(BigDecimal actualAmount) {
|
|
|
- this.actualAmount = actualAmount;
|
|
|
+ public AuthStatusEnum getAuthStatus() {
|
|
|
+ return authStatus;
|
|
|
}
|
|
|
|
|
|
- public String getBankFlowNo() {
|
|
|
- return bankFlowNo;
|
|
|
+ public void setAuthStatus(AuthStatusEnum authStatus) {
|
|
|
+ this.authStatus = authStatus;
|
|
|
}
|
|
|
|
|
|
- public void setBankFlowNo(String bankFlowNo) {
|
|
|
- this.bankFlowNo = bankFlowNo;
|
|
|
+ public TradeStatusEnum getTradeStatus() {
|
|
|
+ return tradeStatus;
|
|
|
}
|
|
|
|
|
|
- public TradeStatusEnum getStatus() {
|
|
|
- return status;
|
|
|
+ public void setTradeStatus(TradeStatusEnum tradeStatus) {
|
|
|
+ this.tradeStatus = tradeStatus;
|
|
|
}
|
|
|
|
|
|
- public void setStatus(TradeStatusEnum status) {
|
|
|
- this.status = status;
|
|
|
+ public Date getAuthTime() {
|
|
|
+ return authTime;
|
|
|
}
|
|
|
|
|
|
- /*public String getVerifyReason() {
|
|
|
- return verifyReason;
|
|
|
+ public void setAuthTime(Date authTime) {
|
|
|
+ this.authTime = authTime;
|
|
|
}
|
|
|
|
|
|
- public void setVerifyReason(String verifyReason) {
|
|
|
- this.verifyReason = verifyReason;
|
|
|
+ public String getVerifyUser() {
|
|
|
+ return verifyUser;
|
|
|
}
|
|
|
|
|
|
- public String getSign() {
|
|
|
- return sign;
|
|
|
+ public void setVerifyUser(String verifyUser) {
|
|
|
+ this.verifyUser = verifyUser;
|
|
|
}
|
|
|
-
|
|
|
- public void setSign(String sign) {
|
|
|
- this.sign = sign;
|
|
|
- }*/
|
|
|
}
|