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
package cn.iocoder.yudao.module.mdm.controller.admin.item.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MDM 物料型号 Response VO")
@Data
public class MdmItemModelRespVO {
 
    @Schema(description = "型号编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long itemId;
 
    @Schema(description = "物料编码", example = "M001")
    private String itemCode;
 
    @Schema(description = "物料名称", example = "不锈钢管")
    private String itemName;
 
    @Schema(description = "型号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "4米/根")
    private String model;
 
    @Schema(description = "型号计量单位编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "7")
    private Long unitMeasureId;
 
    @Schema(description = "型号计量单位名称", example = "根")
    private String unitMeasureName;
 
    @Schema(description = "换算比率:1 型号计量单位 = N 物料主计量单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "4")
    private BigDecimal unitMeasureRate;
 
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Integer status;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;
 
}