gaoluyang
13 小时以前 2eadf3769b41e74c56364f3a6509a728a652af51
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,9 +27,11 @@
    @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 = "优惠金额不能为空")
@@ -39,8 +40,10 @@
    @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;