117 lines
2.7 KiB
Java
117 lines
2.7 KiB
Java
package com.ruoyi.cai.domain;
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.ruoyi.cai.enums.AccountCashStatusEnum;
|
|
import com.ruoyi.cai.enums.IsAnchorEnum;
|
|
import com.ruoyi.common.annotation.ExcelEnumFormat;
|
|
import com.ruoyi.common.convert.ExcelEnumConvert;
|
|
import lombok.Data;
|
|
import org.apache.poi.ss.usermodel.Font;
|
|
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* 用户提现记录对象 cai_account_cash
|
|
*
|
|
* @author 77
|
|
* @date 2023-12-21
|
|
*/
|
|
@Data
|
|
@TableName("cai_account_cash")
|
|
public class AccountCash implements Serializable {
|
|
|
|
private static final long serialVersionUID=1L;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
@TableId(value = "id",type = IdType.AUTO)
|
|
@ExcelProperty(value = "ID")
|
|
private Long id;
|
|
/**
|
|
*
|
|
*/
|
|
private Long userId;
|
|
private Long traceId;
|
|
/**
|
|
* 订单号
|
|
*/
|
|
private String orderNo;
|
|
/**
|
|
* 提现紫贝
|
|
*/
|
|
@ExcelProperty(value = "提现紫贝")
|
|
private Long withdrawCoin;
|
|
/**
|
|
* 提现金额
|
|
*/
|
|
@ExcelProperty(value = "提现金额")
|
|
@ContentFontStyle(color = Font.COLOR_RED)
|
|
private BigDecimal cashMoney;
|
|
/**
|
|
* 真实提现金额
|
|
*/
|
|
private BigDecimal realCashMoney;
|
|
/**
|
|
* 提现手续费
|
|
*/
|
|
private BigDecimal cashFees;
|
|
/**
|
|
* 银行名称
|
|
*/
|
|
@ExcelProperty(value = "银行名称")
|
|
private String bank;
|
|
/**
|
|
* 账户名称
|
|
*/
|
|
@ExcelProperty(value = "账户名称")
|
|
private String cardName;
|
|
/**
|
|
* 账户
|
|
*/
|
|
@ExcelProperty(value = "账户")
|
|
private String cardAccount;
|
|
/**
|
|
* 1 申请 2 审核通过 3 审核不通过 4 提现取消
|
|
*/
|
|
@ExcelProperty(value = "状态",converter = ExcelEnumConvert.class)
|
|
@ExcelEnumFormat(enumClass = AccountCashStatusEnum.class,codeField = "code",textField = "text")
|
|
private Integer status;
|
|
/**
|
|
*
|
|
*/
|
|
private String operateIp;
|
|
/**
|
|
* 审核时间
|
|
*/
|
|
private LocalDateTime verifyTime;
|
|
/**
|
|
*
|
|
*/
|
|
private String verifyRemark;
|
|
/**
|
|
* 是否已打款,0否 1是
|
|
*/
|
|
private Integer isPay;
|
|
/**
|
|
* 是否已导出
|
|
*/
|
|
private Integer isExport;
|
|
/**
|
|
* 导出时间
|
|
*/
|
|
private LocalDateTime exportTime;
|
|
|
|
@ExcelProperty(value = "申请时间")
|
|
@ColumnWidth(value = 20)
|
|
private LocalDateTime createTime;
|
|
|
|
}
|