package cn.iocoder.yudao.module.hrm.dal.dataobject.asset;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* 资产交接记录 DO
|
*
|
* @author 超级管理员
|
*/
|
@TableName("hrm_asset_handover")
|
@KeySequence("hrm_asset_handover_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class HrmAssetHandoverDO extends BaseDO {
|
|
/**
|
* 编号
|
*/
|
@TableId
|
private Long id;
|
|
/**
|
* 资产编号
|
*
|
* 关联 {@link HrmAssetDO#getId()}
|
*/
|
private Long assetId;
|
|
/**
|
* 交接类型:1 领用 2 归还 3 调拨
|
*
|
* 字典 {@code hrm_asset_handover_type}
|
*/
|
private Integer handoverType;
|
|
/**
|
* 交出人编号
|
*
|
* 关联 {@code system_users.id}
|
*/
|
private Long fromUserId;
|
|
/**
|
* 接收人编号
|
*
|
* 关联 {@code system_users.id}
|
*/
|
private Long toUserId;
|
|
/**
|
* 交岀部门编号
|
*
|
* 关联 {@code system_dept.id}
|
*/
|
private Long fromDeptId;
|
|
/**
|
* 接收部门编号
|
*
|
* 关联 {@code system_dept.id}
|
*/
|
private Long toDeptId;
|
|
/**
|
* 交接时间
|
*/
|
private LocalDateTime handoverTime;
|
|
/**
|
* 交接数量
|
*/
|
private Integer quantity;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|