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


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

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 设备维修记录 Resp VO")
@Data
@ExcelIgnoreUnannotated
public class DvRepairLineRespVO {

    @Schema(description = "项目行Id")
    private Long id;

    @Schema(description = "维修单编号")
    @ExcelProperty("维修单编号")
    private String repairCode;

    @Schema(description = "维修单名称")
    @ExcelProperty("维修单名称")
    private String repairName;

    @Schema(description = "维修完成日期")
    @ExcelProperty("维修完成日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime finishDate;

    @Schema(description = "项目编码")
    @ExcelProperty("项目编码")
    private String subjectCode;

    @Schema(description = "项目名称")
    @ExcelProperty("项目名称")
    private String subjectName;

    @Schema(description = "项目内容")
    @ExcelProperty("项目内容")
    private String subjectContent;

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

    @Schema(description = "维修结果 0-待维修 1-通过 2-不通过")
    private Integer result;

    @Schema(description = "维修结果")
    @ExcelProperty("维修结果")
    private String repairResult;



}
