package cn.iocoder.yudao.module.mes.controller.admin.tm.tool.vo;
|
|
import cn.idev.excel.annotation.ExcelProperty;
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
|
import lombok.AllArgsConstructor;
|
import lombok.Builder;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* MES 工具台账 Excel 导入 VO
|
*/
|
@Data
|
@Builder
|
@AllArgsConstructor
|
@NoArgsConstructor
|
public class MesTmToolImportExcelVO {
|
|
@ExcelProperty("工具编码")
|
private String code;
|
|
@ExcelProperty("工具名称")
|
private String name;
|
|
@ExcelProperty("品牌")
|
private String brand;
|
|
@ExcelProperty("型号规格")
|
private String specification;
|
|
@ExcelProperty("工具类型")
|
private String toolTypeName;
|
|
@ExcelProperty("数量")
|
private Integer quantity;
|
|
@ExcelProperty("可用数量")
|
private Integer availableQuantity;
|
|
@ExcelProperty(value = "保养维护类型", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.MES_TM_MAINTEN_TYPE)
|
private Integer maintenType;
|
|
@ExcelProperty("下次保养周期")
|
private Integer nextMaintenPeriod;
|
|
@ExcelProperty("下次保养日期")
|
private LocalDateTime nextMaintenDate;
|
|
@ExcelProperty(value = "状态", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.MES_TM_TOOL_STATUS)
|
private Integer status;
|
|
@ExcelProperty("备注")
|
private String remark;
|
|
}
|