|
@@ -5,8 +5,6 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.*;
|
|
|
import java.util.*;
|
|
|
import javax.validation.constraints.*;
|
|
|
-import java.math.BigDecimal;
|
|
|
-import org.springframework.format.annotation.DateTimeFormat;
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
@Schema(description = "管理后台 - 标本管理新增/修改 Request VO")
|
|
@@ -17,7 +15,7 @@ public class SpecimenInfoSaveReqVO {
|
|
|
private Integer id;
|
|
|
|
|
|
@Schema(description = "标本类型(矿物、岩石矿石、化石、陨石)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
- @NotNull(message = "标本类型(矿物、岩石矿石、化石、陨石)不能为空")
|
|
|
+ @NotNull(message = "标本类型不能为空")
|
|
|
@DiffLogField(name = "标本类型")
|
|
|
private Integer specimenType;
|
|
|
|
|
@@ -71,21 +69,27 @@ public class SpecimenInfoSaveReqVO {
|
|
|
private Integer preservationType;
|
|
|
|
|
|
@Schema(description = "尺寸")
|
|
|
+ @DiffLogField(name = "尺寸")
|
|
|
private String size;
|
|
|
|
|
|
@Schema(description = "重量")
|
|
|
+ @DiffLogField(name = "重量")
|
|
|
private String weight;
|
|
|
|
|
|
@Schema(description = "来源(采购、捐赠、采集)")
|
|
|
+ @DiffLogField(name = "来源")
|
|
|
private Integer source;
|
|
|
|
|
|
@Schema(description = "标本提供者(供应商、捐赠人、采集人)")
|
|
|
+ @DiffLogField(name = "标本提供者")
|
|
|
private String provider;
|
|
|
|
|
|
@Schema(description = "具体用途")
|
|
|
+ @DiffLogField(name = "具体用途")
|
|
|
private String purpose;
|
|
|
|
|
|
@Schema(description = "文献资料")
|
|
|
+ @DiffLogField(name = "文献资料")
|
|
|
private String description;
|
|
|
|
|
|
@Schema(description = "馆藏状态(在馆、借出、展陈)", example = "2")
|
|
@@ -93,6 +97,7 @@ public class SpecimenInfoSaveReqVO {
|
|
|
private Integer collectionStatus;
|
|
|
|
|
|
@Schema(description = "备注")
|
|
|
+ @DiffLogField(name = "备注")
|
|
|
private String notes;
|
|
|
|
|
|
@Schema(description = "图片名称", example = "芋艿")
|
|
@@ -102,18 +107,23 @@ public class SpecimenInfoSaveReqVO {
|
|
|
private List<String> imagePath;
|
|
|
|
|
|
@Schema(description = "入库操作员")
|
|
|
+ @DiffLogField(name = "入库操作员")
|
|
|
private String operator;
|
|
|
|
|
|
@Schema(description = "入库时间")
|
|
|
+ @DiffLogField(name = "入库时间")
|
|
|
private LocalDateTime entryDate;
|
|
|
|
|
|
@Schema(description = "发现时间")
|
|
|
+ @DiffLogField(name = "发现时间")
|
|
|
private LocalDateTime discoveryTime;
|
|
|
|
|
|
@Schema(description = "降落时间")
|
|
|
+ @DiffLogField(name = "降落时间")
|
|
|
private LocalDateTime fallTime;
|
|
|
|
|
|
@Schema(description = "入藏时间(购买、捐赠、采集时间)")
|
|
|
+ @DiffLogField(name = "入藏时间")
|
|
|
private LocalDateTime acquisitionTime;
|
|
|
|
|
|
@Schema(description = "注销原因", example = "坏了")
|
|
@@ -129,6 +139,7 @@ public class SpecimenInfoSaveReqVO {
|
|
|
private String specimenPrice;
|
|
|
|
|
|
@Schema(description = "主要用途(工业原料/药用/建材/科学研究/观赏/其它)", example = "1")
|
|
|
+ @DiffLogField(name = "主要用途")
|
|
|
private Integer mainPurpose;
|
|
|
|
|
|
@Schema(description = "保存状态(完整/受损/严重受损/无实物)", example = "1")
|
|
@@ -136,8 +147,10 @@ public class SpecimenInfoSaveReqVO {
|
|
|
private Integer saveStatus;
|
|
|
|
|
|
@Schema(description = "省")
|
|
|
+ @DiffLogField(name = "省")
|
|
|
private String economize;
|
|
|
|
|
|
@Schema(description = "国家")
|
|
|
+ @DiffLogField(name = "国家")
|
|
|
private String country;
|
|
|
}
|