|
|
@@ -1,5 +1,6 @@
|
|
|
package com.jzg.commons.entity.vo;
|
|
|
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
@@ -11,12 +12,35 @@ import lombok.EqualsAndHashCode;
|
|
|
import java.io.Serial;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.time.LocalDateTime;
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.Map;
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
@Schema(description = "提现申请表VO")
|
|
|
@Data
|
|
|
public class AmountAuditVo extends BaseModel {
|
|
|
|
|
|
+ @ExcelIgnore
|
|
|
+ @Schema(description = "主键")
|
|
|
+ private int auditingStatus;
|
|
|
+
|
|
|
+ @ExcelProperty("付款状态")
|
|
|
+ @Schema(description = "付款状态")
|
|
|
+ private String auditingStatusName;
|
|
|
+
|
|
|
+ @ExcelIgnore
|
|
|
+ private static Map<String,String> auditingStatusMap= new HashMap<>();
|
|
|
+ static {
|
|
|
+ auditingStatusMap.put("0","待付款");
|
|
|
+ auditingStatusMap.put("1","已付款");
|
|
|
+ auditingStatusMap.put("2","拒绝付款");
|
|
|
+
|
|
|
+ }
|
|
|
+ public String getAuditingStatusName() {
|
|
|
+ return auditingStatusMap.getOrDefault(Objects.toString(this.auditingStatus),this.auditingStatus+"");
|
|
|
+ }
|
|
|
+
|
|
|
@Serial
|
|
|
private static final long serialVersionUID = 4658187667789639800L;
|
|
|
@ExcelProperty("主键")
|
|
|
@@ -107,17 +131,30 @@ public class AmountAuditVo extends BaseModel {
|
|
|
@Schema(description = "驳回人")
|
|
|
private String rejectPerson;
|
|
|
|
|
|
+ @ExcelIgnore
|
|
|
@Schema(description = "提现人")
|
|
|
private String withdrawalRequester;
|
|
|
|
|
|
+ @ExcelProperty("提现时间")
|
|
|
@Schema(description = "提现时间")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
private LocalDateTime withdrawalRequestTime;
|
|
|
|
|
|
+ @ExcelProperty("审核时间")
|
|
|
@Schema(description = "审核时间")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
private LocalDateTime auditingTime;
|
|
|
|
|
|
@Schema(description = "凭证号")
|
|
|
+ @ExcelProperty("凭证号")
|
|
|
private String voucherId;
|
|
|
+
|
|
|
+ @Schema(description = "付款账号简称")
|
|
|
+ @ExcelProperty("付款账号简称")
|
|
|
+ private String payAccountName;
|
|
|
+
|
|
|
+ @Schema(description = "付款账号的银行卡")
|
|
|
+ @ExcelProperty("付款账号的银行卡")
|
|
|
+ private String payAccountBankNo;
|
|
|
+
|
|
|
}
|