package com.zt.plat.module.qms.resource.material.dal.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import com.zt.plat.framework.mybatis.core.dataobject.BusinessBaseDO;
import lombok.*;

import java.time.LocalDateTime;
/**
* 入库明细,验收入库、盘盈入库等 DO
*
* @author 后台管理
*/
@TableName("t_mtrl_invt_inb_dtl")
@KeySequence("t_mtrl_invt_inb_dtl_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
/**
* 支持业务基类继承：isBusiness=true 时继承 BusinessBaseDO，否则继承 BaseDO
*/
public class MaterialInventoryInboundDetailDO extends BusinessBaseDO {



    /**
    * 主键
    */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
    * 入库单ID
    */
    @TableField("INB_ID")
    private Long inboundId;
    /**
    * 批次id
    */
    @TableField("BAT_ID")
    private Long batchId;
    /**
    * 批次工段id
    */
    @TableField("BAT_GONG_ID")
    private Long batchGongduanId;
    /**
    * 物料实例ID
    */
    @TableField("MTRL_INF_ID")
    private Long materialInfomationId;
    /**
    * 入库人
    */
    @TableField("INB_USER_NAME")
    private String inboundUserName;
    /**
    * 入库人id
    */
    @TableField("INB_USER_ID")
    private Long inboundUserId;
    /**
    * 入库人部门
    */
    @TableField("INB_DEPT_NAME")
    private String inboundDepartmentName;
    /**
    * 入库人部门id
    */
    @TableField("INB_DEPT_ID")
    private Long inboundDepartmentId;
    /**
    * 入库时间
    */
    @TableField("INB_TM")
    private LocalDateTime inboundTime;
    /**
    * 所属部门
    */
    @TableField("SYS_DEPT_CD")
    private String systemDepartmentCode;
    /**
    * 备注
    */
    @TableField("RMK")
    private String remark;

}