package cn.iocoder.yudao.module.system.controller.admin.biz.vo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;


/**
 * 供应商 Excel 导入 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class SupplierImportExcelVO {
    @ExcelProperty("供应商编号（必填）")
    private String supplierNumber;

    @ExcelProperty("供应商名称（必填）")
    private String supplierName;

    @ExcelProperty("供应商简称（必填）")
    private String supplierNickName;

    @ExcelProperty("类型（必填）")
    private String typeName;

    @ExcelProperty("联系人")
    private String contacts;

    @ExcelProperty("联系电话")
    private String phone;

    @ExcelProperty("联系地址")
    private String address;

    @ExcelProperty("经营范围")
    private String businessScope;

    @ExcelProperty("账户名称")
    private String accountName;

    @ExcelProperty("开户银行")
    private String depositBank;

    @ExcelProperty("银行账号")
    private String bankAccount;

    @ExcelProperty("0-正常，1-禁用")
    private Integer status;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("业务员")
    private String operator;

}
