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
package com.ruoyi.require.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
 
@Data
public class SubstanceRecordVo {
 
    @Schema(description = "id")
    private Integer id;
 
    @Schema(description = "标准物质名称")
    private String name;
 
    @Schema(description = "规格型号")
    private String model;
 
    @Schema(description = "出厂编号")
    private String factoryNum;
 
    @Schema(description = "数量")
    private Long quantity;
 
    @Schema(description = "单位")
    private String unit;
 
    @Schema(description = "本次领用数量")
    private Long borrowQuantity;
 
    @Schema(description = "领用后剩余数量")
    private Long remainingQuantity;
 
    @Schema(description = "领用人")
    private String borrowUser;
 
    @Schema(description = "借出日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime borrowDate;
 
    @Schema(description = "备注")
    private String remark;
}