package cn.iocoder.yudao.module.pms.controller.admin.devicegroup;

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 = "管理后台 - PMS成套明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotDeviceGroupDetailRespVO {

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

    @Schema(description = "成套名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "17288")
    @ExcelProperty("成套名称")
    private Long groupId;

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29616")
    @ExcelProperty("设备id")
    private Long deviceId;

    @Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("设备名称")
    private String deviceName;

    @Schema(description = "设备编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("设备编码")
    private String deviceCode;

    @Schema(description = "是否主设备", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否主设备")
    private Boolean ifMaster;

    @Schema(description = "描述", example = "随便")
    @ExcelProperty("描述")
    private String remark;

    @Schema(description = "部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2916")
    @ExcelProperty("部门id")
    private Long deptId;

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

    private String groupName;

}
