| | |
| | | package org.dromara.eims.domain.vo; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | import com.alibaba.excel.annotation.write.style.ColumnWidth; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.poi.hpsf.Decimal; |
| | | import org.dromara.common.mybatis.core.domain.BaseEntity; |
| | | import org.dromara.common.translation.annotation.Translation; |
| | | import org.dromara.common.translation.constant.TransConstant; |
| | |
| | | /** |
| | | * |
| | | */ |
| | | @ExcelProperty(value = "") |
| | | private Long id; |
| | | |
| | | /** |
| | | * 治具编码 |
| | | */ |
| | | @ExcelProperty(value = "治具编码") |
| | | private String fixtureCode; |
| | | |
| | | |
| | | /** |
| | | * 治具名称 |
| | | */ |
| | | @ExcelProperty(value = "治具名称") |
| | | @ExcelProperty(value = "工具名称") |
| | | @ColumnWidth(30) |
| | | private String fixtureName; |
| | | |
| | | /** |
| | | * 型号 |
| | | */ |
| | | @ExcelProperty(value = "型号") |
| | | @ColumnWidth(15) |
| | | private String modelNo; |
| | | |
| | | /** |
| | | * 品牌 |
| | | */ |
| | | @ExcelProperty(value = "品牌") |
| | | @ColumnWidth(20) |
| | | private String brand; |
| | | |
| | | /** |
| | | * 数量 |
| | | */ |
| | | @ExcelProperty(value = "数量") |
| | | @ColumnWidth(10) |
| | | private Integer amount; |
| | | |
| | | |
| | | /** |
| | | * 单位 |
| | | */ |
| | | @ExcelProperty(value = "单位", converter = ExcelDictConvert.class) |
| | | @ExcelDictFormat(dictType = "eims_fixture_unit") |
| | | @ColumnWidth(10) |
| | | private String unit; |
| | | |
| | | /** |
| | | * 资产编号 |
| | | */ |
| | | @ExcelProperty(value = "资产编号") |
| | | @ColumnWidth(20) |
| | | private String assetNo; |
| | | |
| | | |
| | | /** |
| | | * 使用部门 |
| | | */ |
| | | @ExcelProperty(value = "使用部门") |
| | | @ColumnWidth(20) |
| | | private Long useDept; |
| | | |
| | | /** |
| | | * 管理人 |
| | | */ |
| | | @ExcelProperty(value = "管理人") |
| | | @ColumnWidth(12) |
| | | private Long manageUser; |
| | | |
| | | /** |
| | | * 采购日期 |
| | | */ |
| | | @ExcelProperty(value = "采购日期") |
| | | @ColumnWidth(24) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date purchaseDate; |
| | | |
| | | /** |
| | | * 使用日期 |
| | | */ |
| | | @ExcelProperty(value = "使用日期") |
| | | @ColumnWidth(24) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date deployDate; |
| | | |
| | | |
| | | /** |
| | | * 管控需求 |
| | | */ |
| | | @ExcelProperty(value = "管控需求", converter = ExcelDictConvert.class) |
| | | @ColumnWidth(10) |
| | | @ExcelDictFormat(dictType = "eims_fixture_manage") |
| | | private String isManage; |
| | | |
| | | /** |
| | | * 状态(字典) |
| | | */ |
| | | @ExcelProperty(value = "状态", converter = ExcelDictConvert.class) |
| | | @ColumnWidth(10) |
| | | @ExcelDictFormat(dictType = "eims_fixture_status") |
| | | private String status; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 单价 |
| | | */ |
| | | @ExcelProperty(value = "单价") |
| | | @ColumnWidth(10) |
| | | private BigDecimal unitPrice; |
| | | |
| | | /** |
| | | * 功率 |
| | | */ |
| | | @ExcelProperty(value = "功率") |
| | | @ColumnWidth(15) |
| | | private String power; |
| | | |
| | | |
| | | /** |
| | | * 治具编码 |
| | | */ |
| | | private String fixtureCode; |
| | | |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 治具(工具)类型 |
| | | */ |
| | | @ExcelProperty(value = "治具类型") |
| | | @Translation(type = TransConstant.FIXTURE_TYPE_ID_TO_NAME, mapper = "fixtureType") |
| | | private String fixtureTypeName; |
| | | |
| | | /** |
| | | * 治具描述 |
| | | */ |
| | | @ExcelProperty(value = "治具描述") |
| | | private String fixtureDesc; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 借用状态 |
| | | */ |
| | | @ExcelProperty(value = "借用状态", converter = ExcelDictConvert.class) |
| | | @ExcelDictFormat(dictType = "fixture_borrow_status") |
| | | // @ExcelProperty(value = "借用状态", converter = ExcelDictConvert.class) |
| | | // @ExcelDictFormat(dictType = "fixture_borrow_status") |
| | | private String borrowStatus; |
| | | |
| | | /** |
| | |
| | | @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "borrowUser") |
| | | private String borrowUserName; |
| | | |
| | | /** |
| | | * 状态(字典) |
| | | */ |
| | | @ExcelProperty(value = "状态", converter = ExcelDictConvert.class) |
| | | @ExcelDictFormat(dictType = "eims_fixture_status") |
| | | private String status; |
| | | |
| | | /** |
| | | * 资产编号 |
| | | */ |
| | | @ExcelProperty(value = "资产编号") |
| | | private String assetNo; |
| | | |
| | | /** |
| | | * 型号 |
| | | */ |
| | | @ExcelProperty(value = "型号") |
| | | private String modelNo; |
| | | |
| | | /** |
| | | * 规格 |
| | | */ |
| | | @ExcelProperty(value = "规格") |
| | | private String specNo; |
| | | |
| | | /** |
| | | * 制造商 |
| | | */ |
| | | @ExcelProperty(value = "制造商") |
| | | private String madeIn; |
| | | |
| | | /** |
| | | * 采购日期 |
| | | */ |
| | | @ExcelProperty(value = "采购日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date purchaseDate; |
| | | |
| | | /** |
| | | * 使用日期 |
| | | */ |
| | | @ExcelProperty(value = "使用日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date deployDate; |
| | | |
| | | /** |
| | | * 使用年限 |
| | | */ |
| | | @ExcelProperty(value = "使用年限") |
| | | private Long serviceLife; |
| | | |
| | | /** |
| | |
| | | private Long curBorrowId; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |