parent
0237d1cbb9
commit
034ed3af59
13 changed files with 553 additions and 122 deletions
@ -0,0 +1,179 @@ |
|||||||
|
package org.springblade.desk.device.pojo.excel; |
||||||
|
|
||||||
|
|
||||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||||
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||||
|
import com.alibaba.excel.annotation.write.style.ContentRowHeight; |
||||||
|
import com.alibaba.excel.annotation.write.style.HeadRowHeight; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.io.Serial; |
||||||
|
import java.io.Serializable; |
||||||
|
import java.util.Date; |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* 计量记录 Excel实体类 |
||||||
|
* |
||||||
|
* @author qyl |
||||||
|
* @since 2026-01-26 |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
@ColumnWidth(25) |
||||||
|
@HeadRowHeight(20) |
||||||
|
@ContentRowHeight(18) |
||||||
|
public class MeasurementRecordsExcel implements Serializable { |
||||||
|
|
||||||
|
@Serial |
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("名称(设备名称)") |
||||||
|
//@Column("mc_name")
|
||||||
|
private String mcName; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("规格") |
||||||
|
//@Column("norms")
|
||||||
|
private String norms; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("类别(管理类别)") |
||||||
|
//@Column("mc_class")
|
||||||
|
private String mcClass; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("计量类型") |
||||||
|
//@Column("label_no")
|
||||||
|
private String labelNo; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("计量子类型") |
||||||
|
//@Column("str2")
|
||||||
|
private String str2; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("编号(测量设备编码)") |
||||||
|
//@Column("mc_code")
|
||||||
|
private String mcCode; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("使用单位(试用部门)") |
||||||
|
//@Column("use_unit")
|
||||||
|
private String useUnit; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("精度(精度等级)") |
||||||
|
//@Column("accuracy")
|
||||||
|
private String accuracy; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("出厂编号") |
||||||
|
//@Column("oem_code")
|
||||||
|
private String oemCode; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("生产厂家(制造厂商)") |
||||||
|
//@Column("mc_oem")
|
||||||
|
private String mcOem; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("启用日期") |
||||||
|
//@Column("enable_date")
|
||||||
|
private Date enableDate; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("检定日期") |
||||||
|
//@Column("when_dccept")
|
||||||
|
private String whenDccept; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("型号(型号)") |
||||||
|
//@Column("mc_type")
|
||||||
|
private String mcType; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("检定周期(检定周期)") |
||||||
|
//@Column("test_cycle")
|
||||||
|
private Integer testCycle; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("到期日期(有效日期)") |
||||||
|
//@Column("due_date")
|
||||||
|
private Date dueDate; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("报废日期") |
||||||
|
//@Column("date2")
|
||||||
|
private Date date2; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("状态") |
||||||
|
//@Column("belong")
|
||||||
|
private String belong; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("停用日期") |
||||||
|
//@Column("when_buy")
|
||||||
|
private Date whenBuy; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("检定部门") |
||||||
|
//@Column("test_dept")
|
||||||
|
private String testDept; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("检定/校验方法(检定校准方法)") |
||||||
|
//@Column("test_method")
|
||||||
|
private String testMethod; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("备注") |
||||||
|
//@Column("str9")
|
||||||
|
private String str9; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("备注2") |
||||||
|
//@Column("str10")
|
||||||
|
private String str10; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("使用人工号") |
||||||
|
//@Column("assets_no")
|
||||||
|
private String assetsNo; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("责任人") |
||||||
|
//@Column("str6")
|
||||||
|
private String str6; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("用途分类") |
||||||
|
//@Column("purpose_class")
|
||||||
|
private String purposeClass; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("超期情况") |
||||||
|
//@Column("is_over_str")
|
||||||
|
private String isOverStr; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("类型") |
||||||
|
//@Column("cm_type")
|
||||||
|
private Short cmType; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("是否送检") |
||||||
|
//@Column("censorship")
|
||||||
|
private Boolean censorship; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("检验状态") |
||||||
|
//@Column("check_status")
|
||||||
|
private Boolean checkStatus; |
||||||
|
|
||||||
|
@ColumnWidth(20) |
||||||
|
@ExcelProperty("检验结果") |
||||||
|
//@Column("check_result")
|
||||||
|
private Boolean checkResult; |
||||||
|
} |
||||||
Loading…
Reference in new issue