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;
|
}
|