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;
|
}
|