gaoluyang
2026-10-30 cbadfd8e691ab335965202a984db16e55ac8e42c
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
68
69
70
71
package cn.iocoder.yudao.module.hrm.controller.admin.asset.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 资产台账 Response VO")
@Data
public class HrmAssetRespVO {
 
    @Schema(description = "编号", example = "1")
    private Long id;
 
    @Schema(description = "资产编码", example = "ZC2026001")
    private String code;
 
    @Schema(description = "资产名称", example = "笔记本电脑")
    private String name;
 
    @Schema(description = "型号", example = "ThinkPad X1")
    private String model;
 
    @Schema(description = "规格", example = "14 英寸 / 32G / 1T")
    private String specification;
 
    @Schema(description = "资产类别:1 办公设备 2 生产工具 3 电子设备 4 家具 5 其他", example = "3")
    private Integer category;
 
    @Schema(description = "数量", example = "1")
    private Integer quantity;
 
    @Schema(description = "单位", example = "台")
    private String unit;
 
    @Schema(description = "购置时间", example = "2026-01-01")
    private LocalDate purchaseDate;
 
    @Schema(description = "购置金额", example = "6999.00")
    private BigDecimal purchasePrice;
 
    @Schema(description = "供应商名称", example = "联想专卖店")
    private String supplierName;
 
    @Schema(description = "使用部门编号", example = "1024")
    private Long deptId;
 
    @Schema(description = "使用部门名称", example = "生产部")
    private String deptName;
 
    @Schema(description = "使用人编号", example = "1024")
    private Long userId;
 
    @Schema(description = "使用人姓名", example = "张三")
    private String userName;
 
    @Schema(description = "存放位置", example = "办公楼 3 楼 301")
    private String location;
 
    @Schema(description = "资产状态:1 在用 2 闲置 3 报废", example = "1")
    private Integer status;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
 
}