cuijian
2025-07-04 16807e7a9b856a78abbfd80d7ec69e784d5127c7
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
89
90
91
92
93
94
95
96
97
98
package org.jeecg.modules.qms.entity;
 
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.constant.CommonConstant;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
/**
 * @Description: 抽样规则
 * @Author: jeecg-boot
 * @Date:   2025-07-02
 * @Version: V1.0
 */
@Data
@TableName("qms_sampling_rules")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="qms_sampling_rules对象", description="抽样规则")
public class SamplingRules implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**删除标记*/
    @Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
    @TableLogic
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
    /**规则编码*/
    @Excel(name = "规则编码", width = 15)
    @ApiModelProperty(value = "规则编码")
    private String ruleCode;
    /**规则名称*/
    @Excel(name = "规则名称", width = 15)
    @ApiModelProperty(value = "规则名称")
    private String ruleName;
    /**抽样分类*/
    @Excel(name = "抽样分类", width = 15)
    @ApiModelProperty(value = "抽样分类")
    @Dict(dicCode = "rule_category")
    private String ruleCategory;
    /**规则状态*/
    @Excel(name = "规则状态", width = 15)
    @ApiModelProperty(value = "规则状态")
    private String ruleStatus;
    /**最大不合格数*/
    @Excel(name = "最大不合格数", width = 15)
    @ApiModelProperty(value = "最大不合格数")
    private BigDecimal maxUnqualifiedQuantity;
    /**抽样数量*/
    @Excel(name = "抽样数量", width = 15)
    @ApiModelProperty(value = "抽样数量")
    private BigDecimal samplingQuantity;
    /**批量下限值*/
    @Excel(name = "批量下限值", width = 15)
    @ApiModelProperty(value = "批量下限值")
    private BigDecimal batchLowerLimit;
    /**批量上限值*/
    @Excel(name = "批量上限值", width = 15)
    @ApiModelProperty(value = "批量上限值")
    private BigDecimal batchUpperLimit;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
}