From 3baaad59171ded6aca17340fcc907acbeeb45b7b Mon Sep 17 00:00:00 2001 From: zhuguifei <zhuguifei@zhuguifeideiMac.local> Date: 星期二, 08 四月 2025 08:14:43 +0800 Subject: [PATCH] Merge branch 'main' of http://lanpucloud.cn:1111/r/eims-master --- eims/ruoyi-modules/lb-eims/src/main/java/org/dromara/eims/domain/vo/EimsSpareVo.java | 147 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 147 insertions(+), 0 deletions(-) diff --git a/eims/ruoyi-modules/lb-eims/src/main/java/org/dromara/eims/domain/vo/EimsSpareVo.java b/eims/ruoyi-modules/lb-eims/src/main/java/org/dromara/eims/domain/vo/EimsSpareVo.java new file mode 100644 index 0000000..2a47785 --- /dev/null +++ b/eims/ruoyi-modules/lb-eims/src/main/java/org/dromara/eims/domain/vo/EimsSpareVo.java @@ -0,0 +1,147 @@ +package org.dromara.eims.domain.vo; + +import org.dromara.common.translation.annotation.Translation; +import org.dromara.common.translation.constant.TransConstant; +import org.dromara.eims.domain.EimsSpare; +import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; +import com.alibaba.excel.annotation.ExcelProperty; +import org.dromara.common.excel.annotation.ExcelDictFormat; +import org.dromara.common.excel.convert.ExcelDictConvert; +import io.github.linpeilie.annotations.AutoMapper; +import lombok.Data; + +import java.io.Serial; +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + + + +/** + * 澶囦欢鍙拌处瑙嗗浘瀵硅薄 eims_spare + * + * @author zhuguifei + * @date 2025-03-20 + */ +@Data +@ExcelIgnoreUnannotated +@AutoMapper(target = EimsSpare.class) +public class EimsSpareVo implements Serializable { + + @Serial + private static final long serialVersionUID = 1L; + + /** + * + */ + @ExcelProperty(value = "") + private Long id; + + /** + * 绫诲瀷 + */ + @ExcelProperty(value = "绫诲瀷") + private Long type; + + @Translation(type = TransConstant.SPARE_TYPE_ID_TO_NAME, mapper = "type") + private String typeName; + + /** + * 澶囦欢鍚嶇О + */ + @ExcelProperty(value = "澶囦欢鍚嶇О") + private String name; + + /** + * 澶囦欢缂栫爜 + */ + @ExcelProperty(value = "澶囦欢缂栫爜") + private String code; + + /** + * 澶囦欢鍥剧墖 + */ + @ExcelProperty(value = "澶囦欢鍥剧墖") + private Long img; + + /** + * 澶囦欢鍥剧墖Url + */ + @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "img") + private String imgUrl; + /** + * 鍨嬪彿 + */ + @ExcelProperty(value = "鍨嬪彿") + private String modelNo; + + /** + * 鍒堕�犲晢 + */ + @ExcelProperty(value = "鍒堕�犲晢") + private String madeIn; + + /** + * 渚涘簲鍟� + */ + @ExcelProperty(value = "渚涘簲鍟�") + private String supplier; + + /** + * 璁¢噺鍗曚綅锛堝瓧鍏革級 + */ + @ExcelProperty(value = "璁¢噺鍗曚綅", converter = ExcelDictConvert.class) + @ExcelDictFormat(dictType = "eims_spare_unit") + private String unit; + + /** + * 鍙傝�冧环鏍� + */ + @ExcelProperty(value = "鍙傝�冧环鏍�") + private BigDecimal referPrice; + + /** + * 搴撳瓨涓婇檺 + */ + @ExcelProperty(value = "搴撳瓨涓婇檺") + private Long upperStock; + + /** + * 搴撳瓨涓嬮檺 + */ + @ExcelProperty(value = "搴撳瓨涓嬮檺") + private Long lowerStock; + + /** + * 瀹為檯搴撳瓨 + */ + @ExcelProperty(value = "瀹為檯搴撳瓨") + private Long actualStock; + + /** + * 搴撳瓨閲戦 + */ + @ExcelProperty(value = "搴撳瓨閲戦") + private BigDecimal stockAmount; + + /** + * 鏇存崲鍛ㄦ湡 + */ + @ExcelProperty(value = "鏇存崲鍛ㄦ湡") + private Long replaceCycle; + + /** + * 鏇存崲鍛ㄦ湡鍗曚綅锛堝瓧鍏革級 + */ + @ExcelProperty(value = "鏇存崲鍛ㄦ湡鍗曚綅", converter = ExcelDictConvert.class) + @ExcelDictFormat(dictType = "maint_cycle_unit") + private String cycleUnit; + + /** + * 澶囨敞 + */ + @ExcelProperty(value = "澶囨敞") + private String remark; + + +} -- Gitblit v1.9.3