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

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 设备关键件 Excel 导入 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false)
public class CriticalComponentImportExcelVO {

    @ExcelProperty("编码")
    private String code;

    @ExcelProperty("名称")
    private String name;

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

    @ExcelProperty("备注")
    private String remark;

    // 创建时间，不在Excel中显示，自动生成
    @ExcelIgnore
    private LocalDateTime createTime;

}