gaoluyang
2 天以前 bd5825f42960b67c23c69fc23c8aa5339cc4d084
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/finance/vo/payment/ErpFinancePaymentSaveReqVO.java
@@ -2,7 +2,6 @@
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
@@ -28,19 +27,26 @@
    @NotNull(message = "供应商编号不能为空")
    private Long supplierId;
    @Schema(description = "付款账户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "28989")
    @NotNull(message = "付款账户编号不能为空")
    private Long accountId;
    @Schema(description = "关联的来票编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "25787")
    private Long invoiceId;
    @Schema(description = "付款账户", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "农行对公账户")
    private String accountName;
    @Schema(description = "优惠金额,单位:元", requiredMode = Schema.RequiredMode.REQUIRED, example = "11600")
    @NotNull(message = "优惠金额不能为空")
    private BigDecimal discountPrice;
    @Schema(description = "合计付款,单位:元。不传时按付款明细汇总", example = "11600")
    private BigDecimal totalPrice;
    @Schema(description = "备注", example = "你猜")
    private String remark;
    @Schema(description = "付款项列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "付款项列表不能为空")
    @Schema(description = "附件 blobId 列表", example = "[1, 2, 3]")
    private List<Long> blobIds;
    @Schema(description = "付款项列表", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @Valid
    private List<Item> items;