package com.zt.plat.module.qms.business.bus.dal.dataobject;

import lombok.*;
import java.util.*;
    import java.time.LocalDateTime;
    import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import com.zt.plat.framework.mybatis.core.dataobject.BusinessBaseDO;
/**
* 分样复测业务数据 DO
*
* @author 后台管理-1
*/
@TableName("t_bsn_sb_smp_prn_rtst")
@KeySequence("t_bsn_sb_smp_prn_rtst_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
/**
* 支持业务基类继承：isBusiness=true 时继承 BusinessBaseDO，否则继承 BaseDO
*/
public class BusinessSubSampleParentRetestDO extends BusinessBaseDO {



    /**
    * ID
    */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
    * 样品ID
    */
    @TableField("SMP_ID")
    private Long sampleId;
    /**
    * 样品主样ID
    */
    @TableField("BSN_BSE_SMP_ID")
    private Long businessBaseSampleId;
    /**
    * 样品分样ID
    */
    @TableField("BSN_SB_PRN_SMP_ID")
    private Long businessSubParentSampleId;
    /**
    * 检测方法配置ID
    */
    @TableField("CFG_ASY_MTHD_ID")
    private Long configAssayMethodId;
    /**
    * 班组判定数据业务ID
    */
    @TableField("BSN_SB_PRN_SMP_ASMT_ID")
    private Long businessSubParentSampleAssessmentId;
    /**
    * 复测次数
    */
    @TableField("RTST_CNT")
    private Integer retestCount;
    /**
    * 复检样品主样ID
    */
    @TableField("RTST_BSN_BSE_SMP_ID")
    private Long retestBusinessBaseSampleId;
    /**
    * 复检样品分样ID
    */
    @TableField("RTST_BSN_SB_PRN_SMP_ID")
    private Long retestBusinessSubParentSampleId;
    /**
    * 复检检测方法配置ID
    */
    @TableField("RTST_CFG_ASY_MTHD_ID")
    private Long retestConfigAssayMethodId;
    /**
    * 班组判定数据业务ID
    */
    @TableField("RTST_BSN_SB_PRN_SMP_ASMT_ID")
    private Long retestBusinessSubParentSampleAssessmentId;
    /**
    * 所属部门
    */
    @TableField("SYS_DEPT_CD")
    private String systemDepartmentCode;
    /**
    * 乐观锁
    */
    @TableField("UPD_CNT")
    private Integer updateCount;
    /**
    * 备注
    */
    @TableField("RMK")
    private String remark;

}