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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author: jinyd
 * @CreateTime: 2024/11/21  9:48
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 供应商信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SupplierInfoRespVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16755")
    @ExcelProperty("主键ID")
    private Long id;

    @Schema(description = "供应商名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("供应商名称")
    private String supplierName;


    @Schema(description = "类型名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("类型名称")
    private String typeName;

    @Schema(description = "联系人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("联系人")
    private String contacts;

    @Schema(description = "联系电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("联系电话")
    private String phone;

    @Schema(description = "地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("地址")
    private String address;

    @Schema(description = "经营范围", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("经营范围")
    private String businessScope;

    @Schema(description = "账户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("账户名称")
    private String accountName;

    @Schema(description = "开户行", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("开户行")
    private String depositBank;

    @Schema(description = "银行账号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21991")
    @ExcelProperty("银行账号")
    private String bankAccount;

    @Schema(description = "0-正常，1-禁用", example = "1")
    @ExcelProperty("0-正常，1-禁用")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 供应商编号
     */
    @Schema(description = "供应商编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    private String supplierNumber;
    /**
     * 供应商简称
     */
    @Schema(description = "供应商简称", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxxx")
    private String supplierNickName;
    /**
     * 业务员
     */
    @Schema(description = "业务员", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxxx")
    private String operator;
    /**
     * 机构id
     */
    @Schema(description = "机构id", requiredMode = Schema.RequiredMode.REQUIRED, example = "21991")
    private Long tenantId;
}
