package cn.iocoder.yudao.module.asset.dal.dataobject.requisition;
|
|
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.LocalDate;
|
import java.time.LocalDateTime;
|
|
/**
|
* 资产领用 DO
|
*/
|
@TableName("asset_requisition")
|
@KeySequence("asset_requisition_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class AssetRequisitionDO extends BaseDO {
|
|
@TableId
|
private Long id;
|
|
/** 领用单号 */
|
private String no;
|
|
/** 资产 ID */
|
private Long assetId;
|
|
/** 资产编号(快照) */
|
private String assetNo;
|
|
/** 资产名称(快照) */
|
private String assetName;
|
|
/** 资产分类(快照) */
|
private Integer category;
|
|
/** 保管人(管理人)用户 ID */
|
private Long custodianId;
|
|
/** 保管人(管理人)姓名 */
|
private String custodianName;
|
|
/** 领用人用户 ID */
|
private Long recipientId;
|
|
/** 领用人姓名 */
|
private String recipientName;
|
|
/** 领用时间 */
|
private LocalDateTime requisitionTime;
|
|
/** 领用数量 */
|
private Integer quantity;
|
|
/** 用途 */
|
private String purpose;
|
|
/** 预计归还日期 */
|
private LocalDate expectedReturnDate;
|
|
/** 已归还数量 */
|
private Integer returnedQuantity;
|
|
/** 最近归还时间 */
|
private LocalDateTime returnTime;
|
|
/** 归还状态:1-未归还 2-部分归还 3-已归还 */
|
private Integer returnStatus;
|
|
/** 备注 */
|
private String remark;
|
|
}
|