huminmin
2 天以前 32e4f30a848e159081986f93d189f0e80fa56a77
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
35
36
37
38
39
40
41
package com.ruoyi.purchase.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * 采购手动入库请求DTO
 */
@Data
@Schema(description = "采购手动入库请求DTO")
public class PurchaseStockInDto {
 
    @Schema(description = "采购台账ID")
    private Long purchaseLedgerId;
 
    @Schema(description = "产品入库明细")
    private List<StockInProductItem> details;
 
    @Data
    @Schema(description = "产品入库明细项")
    public static class StockInProductItem {
 
        @Schema(description = "采购产品ID(sales_ledger_product.id)")
        private Long id;
 
        @Schema(description = "入库数量(理论数量)")
        private BigDecimal inboundQuantity;
 
        @Schema(description = "是否含水")
        private Boolean isContainsWater;
 
        @Schema(description = "含水量(%)")
        private BigDecimal waterContent;
 
        @Schema(description = "实际入库数量")
        private BigDecimal actualInboundQuantity;
    }
}