liu
9 小时以前 5d34bdd3c426bb2ca5f6627424ae67984f745603
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
package cn.iocoder.yudao.module.asset.dal.dataobject.item;
 
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
 */
@TableName("asset_item")
@KeySequence("asset_item_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AssetItemDO extends BaseDO {
 
    @TableId
    private Long id;
 
    /** 资产编号 */
    private String assetNo;
 
    /** 资产名称 */
    private String name;
 
    /** 资产分类:1-易耗品 2-办公资产 3-固定资产 */
    private Integer category;
 
    /** 规格型号 */
    private String spec;
 
    /** 计量单位 */
    private String unit;
 
    /** 当前库存数量 */
    private Integer quantity;
 
    /** 单价(元) */
    private BigDecimal unitPrice;
 
    /** 总价值(元) */
    private BigDecimal totalAmount;
 
    /** 购入日期 */
    private LocalDate purchaseDate;
 
    /** 保管人(管理人)用户 ID */
    private Long custodianId;
 
    /** 保管人(管理人)姓名 */
    private String custodianName;
 
    /** 存放地点 */
    private String location;
 
    /** 备注 */
    private String remark;
 
}