|
@@ -0,0 +1,155 @@
|
|
|
+package cn.iocoder.yudao.module.museums.controller.admin.specimeninfo.vo;
|
|
|
+
|
|
|
+import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
|
|
+import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
|
|
+import cn.iocoder.yudao.module.museums.enums.DictTypeConstants;
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.time.LocalDateTime;
|
|
|
+
|
|
|
+
|
|
|
+@Schema(description = "管理后台 - 标本导出 Response VO")
|
|
|
+@Data
|
|
|
+@ExcelIgnoreUnannotated
|
|
|
+public class SpecimenInfoExportRespVO {
|
|
|
+
|
|
|
+ @Schema(description = "序号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @ExcelProperty("序号")
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ @Schema(description = "标本类型(矿物、岩石矿石、化石、陨石)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
+ @ExcelProperty(value = "标本类型(矿物、岩石矿石、化石、陨石)", converter = DictConvert.class)
|
|
|
+ @DictFormat(DictTypeConstants.MUSEUMS_SPECIMEN_TYPE)
|
|
|
+ private Integer specimenType;
|
|
|
+
|
|
|
+ @Schema(description = "标本编号", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @ExcelProperty("标本编号")
|
|
|
+ private String specimenNumber;
|
|
|
+
|
|
|
+ @Schema(description = "资产号")
|
|
|
+ @ExcelProperty("资产号")
|
|
|
+ private String assetNumber;
|
|
|
+
|
|
|
+ @Schema(description = "存放位置")
|
|
|
+ @ExcelProperty("存放位置")
|
|
|
+ private String storageLocation;
|
|
|
+
|
|
|
+ @Schema(description = "中文名称", example = "赵六")
|
|
|
+ @ExcelProperty("中文名称")
|
|
|
+ private String chineseName;
|
|
|
+
|
|
|
+ @Schema(description = "英文名称", example = "Maven")
|
|
|
+ @ExcelProperty("英文名称")
|
|
|
+ private String englishName;
|
|
|
+
|
|
|
+ @Schema(description = "成分")
|
|
|
+ @ExcelProperty("成分")
|
|
|
+ private String composition;
|
|
|
+
|
|
|
+ @Schema(description = "产地")
|
|
|
+ @ExcelProperty("产地")
|
|
|
+ private String origin;
|
|
|
+
|
|
|
+ @Schema(description = "时代")
|
|
|
+ @ExcelProperty("时代")
|
|
|
+ private String era;
|
|
|
+
|
|
|
+ @Schema(description = "保存地层")
|
|
|
+ @ExcelProperty("保存地层")
|
|
|
+ private String preservedLayer;
|
|
|
+
|
|
|
+ @Schema(description = "陨石类型", example = "2")
|
|
|
+ @ExcelProperty("陨石类型")
|
|
|
+ private String meteoriteType;
|
|
|
+
|
|
|
+ @Schema(description = "国际命名", example = "王五")
|
|
|
+ @ExcelProperty("国际命名")
|
|
|
+ private String internationalName;
|
|
|
+
|
|
|
+ @Schema(description = "保存类型(标本、光片、薄片模型及其他)", example = "1")
|
|
|
+ @ExcelProperty(value = "保存类型(标本、光片、薄片模型及其他)", converter = DictConvert.class)
|
|
|
+ @DictFormat(DictTypeConstants.MUSEUMS_SPECIMEN_INFO)
|
|
|
+ private Integer preservationType;
|
|
|
+
|
|
|
+ @Schema(description = "尺寸")
|
|
|
+ @ExcelProperty("尺寸")
|
|
|
+ private String size;
|
|
|
+
|
|
|
+ @Schema(description = "重量")
|
|
|
+ @ExcelProperty("重量")
|
|
|
+ private String weight;
|
|
|
+
|
|
|
+ @Schema(description = "来源(采购、捐赠、采集)")
|
|
|
+ @ExcelProperty(value = "来源(采购、捐赠、采集)", converter = DictConvert.class)
|
|
|
+ @DictFormat(DictTypeConstants.MUSEUMS_SOURCE)
|
|
|
+ private Integer source;
|
|
|
+
|
|
|
+ @Schema(description = "标本提供者(供应商、捐赠人、采集人)")
|
|
|
+ @ExcelProperty("标本提供者(供应商、捐赠人、采集人)")
|
|
|
+ private String provider;
|
|
|
+
|
|
|
+ @Schema(description = "用途")
|
|
|
+ @ExcelProperty("用途")
|
|
|
+ private String purpose;
|
|
|
+
|
|
|
+ @Schema(description = "描述", example = "黑红色陨石")
|
|
|
+ @ExcelProperty("描述")
|
|
|
+ private String description;
|
|
|
+
|
|
|
+ @Schema(description = "馆藏状态(在馆、借出、展陈)", example = "2")
|
|
|
+ @ExcelProperty(value = "馆藏状态(在馆、借出、展陈)", converter = DictConvert.class)
|
|
|
+ @DictFormat(DictTypeConstants.MUSEUMS_COLLECTION_STATUS)
|
|
|
+ private Integer collectionStatus;
|
|
|
+
|
|
|
+ @Schema(description = "备注")
|
|
|
+ @ExcelProperty("备注")
|
|
|
+ private String notes;
|
|
|
+
|
|
|
+ @Schema(description = "图片名称", example = "芋艿")
|
|
|
+ @ExcelProperty("图片名称")
|
|
|
+ private String imageName;
|
|
|
+
|
|
|
+// @Schema(description = "图片路径")
|
|
|
+// @ExcelProperty("图片路径")
|
|
|
+// private List<String> imagePath;
|
|
|
+
|
|
|
+ @Schema(description = "入库操作员")
|
|
|
+ @ExcelProperty("入库操作员")
|
|
|
+ private String operator;
|
|
|
+
|
|
|
+ @Schema(description = "入库时间")
|
|
|
+ @ExcelProperty("入库时间")
|
|
|
+ private LocalDateTime entryDate;
|
|
|
+
|
|
|
+ @Schema(description = "发现时间")
|
|
|
+ @ExcelProperty("发现时间")
|
|
|
+ private LocalDateTime discoveryTime;
|
|
|
+
|
|
|
+ @Schema(description = "降落时间")
|
|
|
+ @ExcelProperty("降落时间")
|
|
|
+ private LocalDateTime fallTime;
|
|
|
+
|
|
|
+ @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @ExcelProperty("创建时间")
|
|
|
+ private LocalDateTime createTime;
|
|
|
+
|
|
|
+ @Schema(description = "入藏时间(购买、捐赠、采集时间)")
|
|
|
+ @ExcelProperty("入藏时间(购买、捐赠、采集时间)")
|
|
|
+ private LocalDateTime acquisitionTime;
|
|
|
+
|
|
|
+ @Schema(description = "注销原因", example = "不香")
|
|
|
+ @ExcelProperty("注销原因")
|
|
|
+ private String deletedReason;
|
|
|
+
|
|
|
+ @Schema(description = "标本数量")
|
|
|
+ @ExcelProperty("标本数量")
|
|
|
+ private String specimenAmount;
|
|
|
+
|
|
|
+ @Schema(description = "标本价格")
|
|
|
+ @ExcelProperty("标本价格")
|
|
|
+ private String specimenPrice;
|
|
|
+
|
|
|
+}
|