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