1231123
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
package com.ruoyi.cai.dto.admin.vo.accountCash;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
||||
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.springframework.format.annotation.NumberFormat;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class AccountCashExportVo {
|
||||
@ExcelProperty(value = "提现次数")
|
||||
private Integer cashNum;
|
||||
|
||||
@ExcelProperty(value = "昵称")
|
||||
private String nickname;
|
||||
|
||||
@ExcelProperty(value = "手机号")
|
||||
private String mobile;
|
||||
|
||||
@ExcelProperty(value = "主播",converter = ExcelEnumConvert.class)
|
||||
@ExcelEnumFormat(enumClass = IsAnchorEnum.class,codeField = "code",textField = "message")
|
||||
private Integer isAnchor;
|
||||
|
||||
@ExcelProperty(value = "提现紫贝")
|
||||
private Long withdrawCoin;
|
||||
|
||||
@ExcelProperty(value = "提现金额")
|
||||
@NumberFormat(pattern = "0.##")
|
||||
// @ContentFontStyle(color = Font.COLOR_RED)
|
||||
private BigDecimal cashMoney;
|
||||
|
||||
/**
|
||||
* 银行名称
|
||||
*/
|
||||
@ExcelProperty(value = "银行名称")
|
||||
private String bank;
|
||||
/**
|
||||
* 账户名称
|
||||
*/
|
||||
@ExcelProperty(value = "账户名称")
|
||||
private String cardName;
|
||||
|
||||
@ExcelProperty(value = "账户")
|
||||
private String cardAccount;
|
||||
|
||||
@ExcelProperty(value = "状态",converter = ExcelEnumConvert.class)
|
||||
@ExcelEnumFormat(enumClass = AccountCashStatusEnum.class,codeField = "code",textField = "text")
|
||||
private Integer status;
|
||||
|
||||
@ExcelProperty(value = "ids")
|
||||
@ColumnWidth(value = 20)
|
||||
private String ids;
|
||||
}
|
||||
Reference in New Issue
Block a user