gaoluyang
5 天以前 fbaeeeff5704f210bc6347454c0f16d255001822
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package cn.iocoder.yudao.module.srm.controller.admin.inquiry.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.util.List;
 
@Schema(description = "管理后台 - 询价比价确认转订单 Request VO")
@Data
public class SrmInquiryConfirmReqVO {
 
    @Schema(description = "询价单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "询价单ID不能为空")
    private Long id;
 
    @Schema(description = "每个产品选中的中标报价;为空时使用询价单中已保存的中标选择")
    private List<Selection> selections;
 
    @Schema(description = "产品中标选择")
    @Data
    public static class Selection {
 
        @Schema(description = "询价产品行ID", requiredMode = Schema.RequiredMode.REQUIRED)
        @NotNull(message = "询价产品行ID不能为空")
        private Long inquiryItemId;
 
        @Schema(description = "中标报价ID", requiredMode = Schema.RequiredMode.REQUIRED)
        @NotNull(message = "中标报价ID不能为空")
        private Long quoteId;
 
    }
 
}