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.math.BigDecimal;
|
import java.time.LocalDate;
|
|
/**
|
* 资产台账 DO
|
*
|
* @author 超级管理员
|
*/
|
@TableName("hrm_asset")
|
@KeySequence("hrm_asset_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class HrmAssetDO extends BaseDO {
|
|
/**
|
* 编号
|
*/
|
@TableId
|
private Long id;
|
|
/**
|
* 资产编码
|
*/
|
private String code;
|
|
/**
|
* 资产名称
|
*/
|
private String name;
|
|
/**
|
* 型号
|
*/
|
private String model;
|
|
/**
|
* 规格
|
*/
|
private String specification;
|
|
/**
|
* 资产类别:1 办公设备 2 生产工具 3 电子设备 4 家具 5 其他
|
*
|
* 字典 {@code hrm_asset_category}
|
*/
|
private Integer category;
|
|
/**
|
* 数量
|
*/
|
private Integer quantity;
|
|
/**
|
* 单位
|
*/
|
private String unit;
|
|
/**
|
* 购置时间
|
*/
|
private LocalDate purchaseDate;
|
|
/**
|
* 购置金额
|
*/
|
private BigDecimal purchasePrice;
|
|
/**
|
* 供应商名称
|
*/
|
private String supplierName;
|
|
/**
|
* 使用部门编号
|
*
|
* 关联 {@code system_dept.id}
|
*/
|
private Long deptId;
|
|
/**
|
* 使用人编号
|
*
|
* 关联 {@code system_users.id}
|
*/
|
private Long userId;
|
|
/**
|
* 存放位置
|
*/
|
private String location;
|
|
/**
|
* 资产状态:1 在用 2 闲置 3 报废
|
*
|
* 字典 {@code hrm_asset_status}
|
*/
|
private Integer status;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|