xiaoyi
2 天以前 b5e1bceabb36fe1d1e5e88397280d12e7044c6dd
yudao-module-srm/src/main/java/cn/iocoder/yudao/module/srm/controller/admin/tender/vo/SrmSupplierQuoteSaveReqVO.java
@@ -2,6 +2,9 @@
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.DecimalMax;
import jakarta.validation.constraints.Min;
import lombok.Data;
import java.math.BigDecimal;
@@ -20,6 +23,7 @@
    private Long supplierId;
    @Schema(description = "投标ID", example = "1")
    @NotNull(message = "投标ID不能为空")
    private Long bidId;
    @Schema(description = "招标物料ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
@@ -28,19 +32,22 @@
    @Schema(description = "报价价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "5000")
    @NotNull(message = "报价价格不能为空")
    @DecimalMin(value = "0", message = "报价不能为负数")
    private BigDecimal quotePrice;
    @Schema(description = "税率", example = "13")
    @DecimalMin(value = "0", message = "税率不能为负数")
    @DecimalMax(value = "100", message = "税率不能超过100%")
    private BigDecimal taxRate;
    @Schema(description = "交货周期(天)", example = "30")
    private Integer deliveryCycle;
    @Min(value = 0, message = "交货周期不能为负数") private Integer deliveryCycle;
    @Schema(description = "付款条件", example = "货到30天付款")
    private String paymentTerms;
    @Schema(description = "质保期(月)", example = "12")
    private Integer warrantyPeriod;
    @Min(value = 0, message = "质保期不能为负数") private Integer warrantyPeriod;
    @Schema(description = "备注", example = "含运费")
    private String remark;