package com.zt.plat.module.qms.resource.device.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 设备-使用记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceUseRecordRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "17384")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "设备id", example = "5771")
    @ExcelProperty("设备id")
    private Long deviceId;

    @Schema(description = "使用人", example = "王五")
    @ExcelProperty("使用人")
    private String userName;

    @Schema(description = "使用人id", example = "11450")
    @ExcelProperty("使用人id")
    private Long userId;

    @Schema(description = "开始使用时间")
    @ExcelProperty("开始使用时间")
    private LocalDateTime useTimeStart;

    @Schema(description = "结束使用时间")
    @ExcelProperty("结束使用时间")
    private LocalDateTime useTimeEnd;

    @Schema(description = "使用记录")
    @ExcelProperty("使用记录")
    private String useRemark;

    @Schema(description = "检测项目")
    @ExcelProperty("检测项目")
    private String useItem;

    @Schema(description = "使用前状态")
    @ExcelProperty("使用前状态")
    private String stateBefore;

    @Schema(description = "使用中状态（正常/异常）")
    @ExcelProperty("使用中状态（正常/异常）")
    private String stateRun;

    @Schema(description = "使用后状态")
    @ExcelProperty("使用后状态")
    private String stateAfter;

    @Schema(description = "温度")
    @ExcelProperty("温度")
    private String temperature;

    @Schema(description = "湿度")
    @ExcelProperty("湿度")
    private String humidity;

    @Schema(description = "数据来源,PC|PAD|PDA")
    @ExcelProperty("数据来源,PC|PAD|PDA")
    private String dataSource;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

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

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}