package cn.iocoder.yudao.module.hrm.controller.admin.asset.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
@Schema(description = "管理后台 - 资产精简 Response VO")
|
@Data
|
public class HrmAssetSimpleRespVO {
|
|
@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 = "数量", example = "1")
|
private Integer quantity;
|
|
@Schema(description = "单位", example = "台")
|
private String unit;
|
|
@Schema(description = "资产状态:1 在用 2 闲置 3 报废", example = "2")
|
private Integer status;
|
|
@Schema(description = "使用部门编号", example = "1024")
|
private Long deptId;
|
|
@Schema(description = "使用人编号", example = "1024")
|
private Long userId;
|
|
}
|