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

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



    /**
    * ID
    */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
    * 交接单ID
    */
    @TableField("BSN_SMP_HND_ID")
    private Long businessSampleHandoverId;
    /**
    * 分样子样ID
    */
    @TableField("BSN_SB_SMP_ID")
    private Long businessSubSampleId;
    /**
    * 样品名称
    */
    @TableField("SMP_NAME")
    private String sampleName;
    /**
    * 样品编号
    */
    @TableField("SMP_CD")
    private String sampleCode;
    /**
    * 样品重量
    */
    @TableField("SMP_WGT")
    private BigDecimal sampleWeight;
    /**
    * 天平编号
    */
    @TableField("BAL_CD")
    private String balanceCode;
    /**
    * 样品类型ID,字典表：【T_DIC_BSN】
    */
    @TableField("DIC_BSN_ID")
    private Long dictionaryBusinessId;
    /**
    * 样品类型
    */
    @TableField("DIC_BSN_NAME")
    private String dictionaryBusinessName;
    /**
    * 所属部门
    */
    @TableField("SYS_DEPT_CD")
    private String systemDepartmentCode;
    /**
    * 备注
    */
    @TableField("RMK")
    private String remark;

}