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

import org.dromara.payment.operator.domain.ReProductInvoice;
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;



/**
 * 产品开票类目视图对象 re_product_invoice
 *
 * @author LionLi
 * @date 2024-03-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ReProductInvoice.class)
public class ReProductInvoiceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 业务类型(1:委托代征，2:自然人代开，3:个体户注册)
     */
    @ExcelProperty(value = "业务类型(1:委托代征，2:自然人代开，3:个体户注册)")
    private Long proType;

    /**
     * 产品编号
     */
    @ExcelProperty(value = "产品编号")
    private String proNo;

    /**
     * 产品id
     */
    @ExcelProperty(value = "产品id")
    private Long proId;

    /**
     * 开票类目id(mer_invoice_type表id)
     */
    @ExcelProperty(value = "开票类目id(mer_invoice_type表id)")
    private Long invoiceTypeId;

    /**
     * 业务id(结算中心id或运营商id)
     */
    @ExcelProperty(value = "业务id(结算中心id或运营商id)")
    private Long busId;

    /**
     * 业务类型（6：服务商 7：运营商 8：代理商 9：商户 11:账单批次）
     */
    @ExcelProperty(value = "业务类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "6=：服务商,7=：运营商,8=：代理商,9=：商户,1=1:账单批次")
    private Integer busType;


}
