package jnpf.limsEntity; // 请根据实际业务包路径调整 import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonProperty; import jnpf.base.entity.SuperEntity; import lombok.Data; import java.util.Date; /** * 样品取样实体类 * 对应数据库表:lims_sampling_record */ @Data @TableName("lims_sampling_record") public class LimsSamplingRecordEntity { /** * 主键 */ @TableId(value = "f_id") // 标记数据库主键字段 @JsonProperty("f_id") private String id; @TableField( value = "f_tenant_id", fill = FieldFill.INSERT_UPDATE ) private String tenantId; /** * 产品类型 */ @TableField("q_type") private String qType; /** * 物料代码 */ @TableField("wl_code") private String wlCode; /** * 样品名称 */ @TableField("sample_name") private String sampleName; /** * 规格 */ @TableField("spec") private String spec; /** * 包装规格 */ @TableField("pack_spec") private String packSpec; /** * 批号 */ @TableField("batchno") private String batchno; /** * 检验类型 */ @TableField("check_type") private String checkType; /** * 检验数量 */ @TableField("check_num") private String checkNum; /** * 检验依据 */ @TableField("check_gist") private String checkGist; /** * 级别 */ @TableField("check_level") private String checkLevel; /** * 生产商(表字段为 produc,按实际字段名映射) */ @TableField("produc") private String produc; /** * 供应商 */ @TableField("supplier") private String supplier; /** * 检验项目 */ @TableField("check_item") private String checkItem; /** * 有效期至 */ @TableField("expirydate") private Date expirydate; /** * 样品编号 */ @TableField("sample_code") private String sampleCode; /** * 检验流水号 */ @TableField("apply_flow") private String applyFlow; /** * 样品ID */ @TableField("sample_id") private String sampleId; /** * 请检状态 */ @TableField("apply_status") private String applyStatus; /** * 请检人 */ @TableField("apply_user") private String applyUser; /** * 请检时间 */ @TableField("apply_date") private Date applyDate; /** * 质量标准Id */ @TableField("zlbz_id") private String zlbzId; /** * 备注 */ @TableField("note") private String note; /** * 检验数量单位 */ @TableField("check_num_unit") private String checkNumUnit; /** * 取样状态 */ @TableField("record_status") private String recordStatus; /** * 删除用户 */ @TableField("f_delete_user_id") private String fDeleteUserId; /** * 删除时间 */ @TableField("f_delete_time") private Date fDeleteTime; /** * 修改用户 */ @TableField(value = "f_last_modify_user_id",fill = FieldFill.INSERT_UPDATE) private String fLastModifyUserId; /** * 修改时间 */ @TableField(value = "f_last_modify_time", fill = FieldFill.INSERT_UPDATE) private Date fLastModifyTime; /** * 创建用户 */ @TableField(value = "f_creator_user_id",fill = FieldFill.INSERT) private String fCreatorUserId; /** * 创建时间 */ @TableField(value = "f_creator_time",fill = FieldFill.INSERT) private Date fCreatorTime; /** * 有效标志 */ @TableField("f_enabled_mark") private Integer fEnabledMark; }