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

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



/**
 * 运营商协议视图对象 bus_operator_agreement
 *
 * @author LionLi
 * @date 2024-03-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusOperatorAgreement.class)
public class BusOperatorAgreementVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

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

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

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

    /**
     * 协议类型（1：线上 2：线下）
     */
    @ExcelProperty(value = "协议类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=：线上,2=：线下")
    private Integer signStyle;

    /**
     * 协议标题
     */
    @ExcelProperty(value = "协议标题")
    private String title;

    /**
     * 合同编号
     */
    @ExcelProperty(value = "合同编号")
    private String no;

    /**
     * 签约状态（1：签约成功 2：签约失败）
     */
    @ExcelProperty(value = "签约状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=：签约成功,2=：签约失败")
    private Integer status;

    /**
     * 协议链接
     */
    @ExcelProperty(value = "协议链接")
    private String fileUrl;


}
