package cn.iocoder.yudao.module.mes.controller.admin.criticalcomponent.vo;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 设备关键件导出实体类 Resp VO")
@Data
@ExcelIgnoreUnannotated
public class CriticalComponentExcelVO {

    @Schema(description = "主键ID")
    private Long id;


    @Schema(description = "编码")
    @ExcelProperty("编码")
    private String code;


    @Schema(description = "名称")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "描述")
    @ExcelProperty("描述")
    private String description;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
