package org.springblade.mdm.basesetting.machine.vo; import com.alibaba.excel.annotation.ExcelIgnore; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; 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; @Data @ColumnWidth(25) @HeadRowHeight(20) @ContentRowHeight(18) public class MachineExcel { @ColumnWidth(20) @ExcelProperty("机床编号") private String code; @ExcelProperty("机床型号") private String name; @ExcelIgnore @ExcelProperty("机床组") private String machineGroupCode; @ExcelProperty("机床组") private String machineGroupName; /** * 机器类型(规格):01车床/02铣床,在业务字典配置(key=machine_spec) */ @ExcelProperty("机床类型") private String machineSpecName; @ExcelProperty("操作员") private String operator; @ExcelIgnore @ExcelProperty("所属单位id") private Long ownerDept; @ExcelProperty("所属单位") private String ownerDeptName; @ExcelProperty("生产商") private String manufacturer; @ExcelIgnore @ExcelProperty("控制系统字典key") private String controlSystem; @ExcelProperty("控制系统") private String controlSystemName; @Schema(description = "程序临时目录") @ExcelProperty("程序临时目录") private String progTempDir; @ExcelProperty("程序下发目录") private String progSendDir; @ExcelProperty("下发目录保持时间") private Integer sendDirExpiryHours; @ExcelProperty("程序回传目录") private String progReceiveDir; @ExcelProperty("回传目录保持时间") private Integer receiveDirExpiryHours; @ExcelProperty("备注") private String remark; }