package cn.iocoder.yudao.module.mes.controller.admin.dv.borrow.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - MES 设备借用归还 Response VO")
|
@Data
|
public class MesDvBorrowRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
private Long id;
|
|
@Schema(description = "借用单号", requiredMode = Schema.RequiredMode.REQUIRED, example = "JY202610300001")
|
private String code;
|
|
@Schema(description = "设备编号", example = "1")
|
private Long machineryId;
|
|
@Schema(description = "设备编码", example = "EQ-001")
|
private String machineryCode;
|
|
@Schema(description = "设备名称", example = "CNC 加工中心")
|
private String machineryName;
|
|
@Schema(description = "借用人用户编号", example = "1")
|
private Long borrowerUserId;
|
|
@Schema(description = "借用人名称", example = "张三")
|
private String borrowerUserName;
|
|
@Schema(description = "借用时间")
|
private LocalDateTime borrowTime;
|
|
@Schema(description = "预计归还时间")
|
private LocalDateTime expectedReturnTime;
|
|
@Schema(description = "实际归还时间")
|
private LocalDateTime actualReturnTime;
|
|
@Schema(description = "借用事由")
|
private String reason;
|
|
@Schema(description = "归还状况")
|
private String returnCondition;
|
|
@Schema(description = "状态(1 借出中 2 已归还)", example = "1")
|
private Integer status;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
}
|