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


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

@Schema(description = "管理后台 - 设备模具导出 Resp VO")
@Data
@ExcelIgnoreUnannotated
public class MoldVO {
    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32278")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "模具编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模具编码")
    private String code;

    @Schema(description = "模具名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("模具名称")
    private String name;



    @Schema(description = "入库时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("入库时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDateTime inTime;


    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;



    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
//    @ExcelProperty("创建时间")
    private LocalDateTime createTime;


}
