package com.yuchen.saas.payment.api.vo.wallet;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(25)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ColumnWidth(12)
@ContentRowHeight(15)
@HeadFontStyle(fontHeightInPoints =9)
@ExcelIgnoreUnannotated
public class WalletStreamBillDataExcelVO {

    @ExcelProperty({"钱包交易明细表","交易流水号"})
    @ApiModelProperty("交易流水号")
    private String walletStreamNo;

    @ExcelProperty({"钱包交易明细表","钱包用户"})
    @ApiModelProperty("钱包用户")
    private String subjectPhone;

    @ExcelProperty({"钱包交易明细表","交易时间"})
    @ApiModelProperty("交易时间")
    private String walletBillTime;

//    @ExcelProperty({"钱包交易明细表","交易渠道"})
//    @ApiModelProperty("交易渠道")
//    private String tradingChannel;

    @ExcelProperty({"钱包交易明细表","业务类型"})
    @ApiModelProperty("业务类型")
    private String walletBillSourceTypeName;

    @ApiModelProperty(name = "walletBillSourceType", value = "账单来源类型（1：微信支付充值,2：后台支付充值，3：智慧充电缴费，4：智慧停车缴费" +
            "5: 钱包退款， 6：充电费冻结， 7：充电费解冻...）")
    private String walletBillSourceType;

    @ExcelProperty({"钱包交易明细表","订单号"})
    @ApiModelProperty("订单号")
    private String orderNo;

    @ExcelProperty({"钱包交易明细表","支付单号"})
    @ApiModelProperty("支付单号")
    private String payNo;

    @ExcelProperty({"钱包交易明细表","交易金额（元）"})
    @ApiModelProperty("交易金额")
    private String walletBillCost;

    @ExcelProperty({"钱包交易明细表","收支类型"})
    @ApiModelProperty("收支类型")
    private String walletBillTypeName;

    @ApiModelProperty(name = "walletBillType", value = "钱包账单类型（1:收入，2：支出）")
    private String walletBillType;

    @ExcelProperty({"钱包交易明细表","钱包余额（元）"})
    @ApiModelProperty(name = "walletTotalCost")
    private String walletTotalCost;

    @ExcelProperty({"钱包交易明细表","可用余额（元）"})
    @ApiModelProperty(name = "walletAvailableCost")
    private String walletAvailableCost;

    @ExcelProperty({"钱包交易明细表","冻结余额（元）"})
    @ApiModelProperty(name = "walletFreezeCost")
    private String walletFreezeCost;

    @ExcelProperty({"钱包交易明细表","账单日期"})
    @ApiModelProperty(name = "billDate")
    private String billDate;

}
