package com.jwipc.supplier.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.jwipc.util.ExcelDict;
import lombok.Data;

import java.io.Serializable;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class SupplierContactsDMDTO implements Serializable {
    private static final long serialVersionUID = -5993685137201473942L;

    @ExcelProperty(value = "供应商编号")
    @ColumnWidth(20)
    private String supplierCode;

    @ExcelProperty(value = "供应商ERP编号")
    @ColumnWidth(20)
    private String supplierErpCode;

    @ExcelProperty(value = "供应商名称")
    @ColumnWidth(20)
    private String supplierName;

    @ExcelProperty(value = "法人")
    @ColumnWidth(20)
    private String legal;

    @ExcelDict(value = "supplier_role_type")
    @ExcelProperty(value = "联系人类型")
    @ColumnWidth(20)
    private String contactsType;

    @ExcelProperty(value = "联系人")
    @ColumnWidth(20)
    private String contactsName;

    @ExcelProperty(value = "邮箱")
    @ColumnWidth(20)
    private String email;


    @ExcelProperty(value = "电话")
    @ColumnWidth(20)
    private String contactsTel;

    @ExcelProperty(value = "开户行")
    @ColumnWidth(20)
    private String openingBankName;

    @ExcelProperty(value = "银行账号")
    @ColumnWidth(20)
    private String bankAccount;

    @ExcelProperty(value = "开户人")
    @ColumnWidth(20)
    private String cardholderName;

    @ExcelProperty(value = "银行机构代码")
    @ColumnWidth(20)
    private String bankCode;
    @ExcelProperty(value = "银行国际代码")
    @ColumnWidth(20)
    private String bankInterCode;
    @ExcelProperty(value = "收款单位")
    @ColumnWidth(20)
    @ExcelDict(value = "company_code")
    private String payee;
    @ExcelProperty(value = "公司代码")
    @ColumnWidth(20)
    private String companyCode;
}
