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;
|
|
}
|