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

import cn.iocoder.yudao.module.pms.dal.dataobject.devicegroup.IotDeviceGroupDetailDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.List;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - PMS成套 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotDeviceGroupRespVO {

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

    @Schema(description = "成套名称", example = "赵六")
    @ExcelProperty("成套名称")
    private String name;

    @Schema(description = "成套编码")
    @ExcelProperty("成套编码")
    private String code;

    @Schema(description = "描述", example = "你说的对")
    @ExcelProperty("描述")
    private String remark;

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

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

    private String deptName;

    private List<IotDeviceGroupDetailDO> details;
    @Schema(description = "是否在线")
    private Boolean ifOnline;
}
