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
package cn.iocoder.yudao.module.asset.controller.admin.item.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 AssetItemRespVO {
 
    @Schema(description = "编号", example = "1")
    private Long id;
 
    @Schema(description = "资产编号", example = "ZC20261020000001")
    private String assetNo;
 
    @Schema(description = "资产名称", example = "激光打印机")
    private String name;
 
    @Schema(description = "资产分类", example = "2")
    private Integer category;
 
    @Schema(description = "资产分类名称", example = "办公资产")
    private String categoryName;
 
    @Schema(description = "规格型号", example = "HP M405dn")
    private String spec;
 
    @Schema(description = "计量单位", example = "台")
    private String unit;
 
    @Schema(description = "当前库存数量", example = "10")
    private Integer quantity;
 
    @Schema(description = "单价(元)", example = "1999.00")
    private BigDecimal unitPrice;
 
    @Schema(description = "总价值(元)", example = "19990.00")
    private BigDecimal totalAmount;
 
    @Schema(description = "购入日期", example = "2026-10-20")
    private LocalDate purchaseDate;
 
    @Schema(description = "保管人用户 ID", example = "1024")
    private Long custodianId;
 
    @Schema(description = "保管人姓名", example = "张三")
    private String custodianName;
 
    @Schema(description = "存放地点", example = "行政楼 302")
    private String location;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
 
}