广丰卷烟厂数采质量分析系统
baoshiwei
17 小时以前 d143af7023cfd4a0ced6f0ecf04ae3b3a06fd1dc
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package org.dromara.qa.md.domain;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 称重盒子主表
 * 
 * @author ruoyi
 * @date 2026-04-09
 */
@Data
@TableName("qm_weighing_box")
public class WeighingBox implements Serializable
{
    private static final long serialVersionUID = 1L;
 
    /** 主键ID */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
 
    /** 盒子名称 */
    private String name;
 
    /** 盒子编号(全局唯一) */
    private String code;
 
    /** 标准重量 */
    private BigDecimal weight;
 
    /** 重量单位(g/kg/mg) */
    private String unit;
 
    /** 存放位置 */
    private String location;
 
    /** 校准周期(天) */
    private Integer calibCycleDays;
 
    /** 提前提醒天数 */
    private Integer remindDays;
 
    /** 上次校准日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastCalibDate;
 
    /** 下次校准日期(系统自动计算) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nextCalibDate;
 
    /** 启用状态(1启用 0停用) */
    private Integer activeStatus;
 
    /** 备注描述 */
    private String description;
 
    /** 删除标记(0正常 1删除) */
    private Integer delFlag;
 
    /** 创建人 */
    private String createBy;
 
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    /** 更新人 */
    private String updateBy;
 
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
 
    // 扩展字段
    // 排除掉
    @TableField(exist = false)
    private String calibStatus;
    @TableField(exist = false)
    private Integer calibDaysLeft;
}