package com.ruoyi.info.collection.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 招投标供应商明细DTO
 */
@Data
@Schema(description = "招投标供应商明细")
public class CcdiPurchaseTransactionSupplierDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "供应商名称不能为空")
    @Schema(description = "供应商名称")
    private String supplierName;

    @NotBlank(message = "供应商统一信用代码不能为空")
    @Schema(description = "供应商统一信用代码")
    private String supplierUscc;

    @Schema(description = "供应商联系人")
    private String contactPerson;

    @Schema(description = "供应商联系电话")
    private String contactPhone;

    @Schema(description = "供应商银行账户")
    private String supplierBankAccount;

    @Schema(description = "是否中标：1-是，0-否")
    private Integer isBidWinner;

    @Schema(description = "排序")
    private Integer sortOrder;
}
