package cn.iocoder.yudao.module.asset.controller.admin.requisition.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDate; import java.time.LocalDateTime; @Schema(description = "管理后台 - 资产领用 Response VO") @Data public class AssetRequisitionRespVO { @Schema(description = "编号", example = "1") private Long id; @Schema(description = "领用单号", example = "LY20261020000001") private String no; @Schema(description = "资产 ID", example = "1") private Long assetId; @Schema(description = "资产编号", example = "ZC20261020000001") private String assetNo; @Schema(description = "资产名称", example = "激光打印机") private String assetName; @Schema(description = "资产分类", example = "2") private Integer category; @Schema(description = "资产分类名称", example = "办公资产") private String categoryName; @Schema(description = "保管人(管理人)用户 ID", example = "1024") private Long custodianId; @Schema(description = "保管人(管理人)姓名", example = "张三") private String custodianName; @Schema(description = "领用人用户 ID", example = "1025") private Long recipientId; @Schema(description = "领用人姓名", example = "李四") private String recipientName; @Schema(description = "领用时间") private LocalDateTime requisitionTime; @Schema(description = "领用数量", example = "1") private Integer quantity; @Schema(description = "用途", example = "行政办公打印") private String purpose; @Schema(description = "预计归还日期") private LocalDate expectedReturnDate; @Schema(description = "已归还数量", example = "0") private Integer returnedQuantity; @Schema(description = "未归还数量", example = "1") private Integer remainingQuantity; @Schema(description = "最近归还时间") private LocalDateTime returnTime; @Schema(description = "归还状态:1-未归还 2-部分归还 3-已归还", example = "1") private Integer returnStatus; @Schema(description = "归还状态名称", example = "未归还") private String returnStatusName; @Schema(description = "备注") private String remark; @Schema(description = "创建时间") private LocalDateTime createTime; }