gaoluyang
6 天以前 7bd10d34e8a8dc2437ec8551eb511e37634d7306
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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;
 
}