liyong
8 天以前 1ab2b329a40decba8ff7eefbeb158ff259aceb6d
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
42
43
44
45
46
47
48
49
50
51
package cn.iocoder.yudao.module.mdm.api.item.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "RPC 服务 - MDM 物料 SKU Response DTO")
@Data
public class MdmItemSkuRespDTO {
 
    @Schema(description = "SKU 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;
 
    @Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long itemId;
 
    @Schema(description = "SKU 编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "SKU001")
    private String code;
 
    @Schema(description = "SKU 名称", example = "规格A")
    private String name;
 
    @Schema(description = "SKU 条码", example = "12345678")
    private String barCode;
 
    @Schema(description = "长度(cm)", example = "10")
    private BigDecimal length;
 
    @Schema(description = "宽度(cm)", example = "5")
    private BigDecimal width;
 
    @Schema(description = "高度(cm)", example = "2")
    private BigDecimal height;
 
    @Schema(description = "毛重(kg)", example = "0.5")
    private BigDecimal grossWeight;
 
    @Schema(description = "净重(kg)", example = "0.4")
    private BigDecimal netWeight;
 
    @Schema(description = "成本价", example = "8.00")
    private BigDecimal costPrice;
 
    @Schema(description = "销售价", example = "15.00")
    private BigDecimal salePrice;
 
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer status;
 
}