6 小时以前 6d910029b6c81db0a2b66caa66952781397b153a
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package cn.iocoder.yudao.module.mes.controller.admin.wm.warning.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 库存预警 Response VO")
@Data
public class MesWmStockWarningRespVO {
 
    @Schema(description = "编号")
    private Long id;
 
    @Schema(description = "品种ID")
    private Long itemId;
 
    @Schema(description = "品种编码")
    private String itemCode;
 
    @Schema(description = "品种名称")
    private String itemName;
 
    @Schema(description = "批次ID")
    private Long batchId;
 
    @Schema(description = "批次号")
    private String batchCode;
 
    @Schema(description = "仓库ID")
    private Long warehouseId;
 
    @Schema(description = "仓库名称")
    private String warehouseName;
 
    @Schema(description = "预警类型:10-低库存,20-临期,30-库龄")
    private Integer warningType;
 
    @Schema(description = "预警类型名称")
    private String warningTypeName;
 
    @Schema(description = "阈值(低库存=最低库存,临期=剩余天数,库龄=超龄天数)")
    private BigDecimal thresholdValue;
 
    @Schema(description = "当前值(低库存=在库数量,临期=剩余天数,库龄=库龄天数)")
    private BigDecimal currentValue;
 
    @Schema(description = "过期日期(临期预警才有)")
    private LocalDateTime expireDate;
 
    @Schema(description = "入库时间(库龄预警才有)")
    private LocalDateTime receiptTime;
 
    @Schema(description = "处理状态:10-未处理,20-已处理")
    private Integer status;
 
    @Schema(description = "处理状态名称")
    private String statusName;
 
    @Schema(description = "处理人ID")
    private Long handleUserId;
 
    @Schema(description = "处理时间")
    private LocalDateTime handleTime;
 
    @Schema(description = "处理备注")
    private String handleRemark;
 
}