package org.dromara.payment.merchant.domain.vo;

import org.dromara.payment.merchant.domain.VMerchantBill;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 商户账单汇总表视图对象 v_merchant_bill
 *
 * @author LionLi
 * @date 2024-04-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = VMerchantBill.class)
public class VMerchantBillVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 商户id
     */
    @ExcelProperty(value = "商户id")
    private Long merId;

    /**
     * 商户编号
     */
    @ExcelProperty(value = "商户编号")
    private String merNo;

    /**
     * 结算中心id
     */
    @ExcelProperty(value = "结算中心id")
    private Long sydId;

    /**
     * 结算中心编号
     */
    @ExcelProperty(value = "结算中心编号")
    private String sydNo;

    /**
     * 运营商编号
     */
    @ExcelProperty(value = "运营商编号")
    private String opNo;

    /**
     * 运营商id
     */
    @ExcelProperty(value = "运营商id")
    private Long opId;

    /**
     * 代理商id
     */
    @ExcelProperty(value = "代理商id")
    private Long channelId;

    /**
     * 代理商编号
     */
    @ExcelProperty(value = "代理商编号")
    private String channelNo;

    /**
     * 代理商上下级关系编码
     */
    @ExcelProperty(value = "代理商上下级关系编码")
    private String channelCode;

    /**
     * 今日交易笔数（笔）
     */
    @ExcelProperty(value = "今日交易笔数", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "笔=")
    private Long dayTranNum;

    /**
     * 今日交易金额（分）
     */
    @ExcelProperty(value = "今日交易金额", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "分=")
    private Long dayTranMoney;

    /**
     * 本月交易笔数（笔）
     */
    @ExcelProperty(value = "本月交易笔数", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "笔=")
    private Long monthTranNum;

    /**
     * 本月交易金额（分）
     */
    @ExcelProperty(value = "本月交易金额", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "分=")
    private Long monthTranMoney;

    /**
     * 本年交易笔数（笔）
     */
    @ExcelProperty(value = "本年交易笔数", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "笔=")
    private Long yearTranNum;

    /**
     * 本年交易金额（分）
     */
    @ExcelProperty(value = "本年交易金额", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "分=")
    private Long yearTranMoney;


}
