package com.zt.plat.module.qms.resource.device.controller.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 java.time.LocalDateTime;

@Schema(description = "管理后台 - 设备-设备大类 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceProductRespVO {

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

    @Schema(description = "父ID", example = "5458")
    @ExcelProperty("父ID")
    private Long parentId;

    @Schema(description = "id路径")
    @ExcelProperty("id路径")
    private String idPath;

    @Schema(description = "节点类型,分类|大类", example = "1")
    @ExcelProperty("节点类型,分类|大类")
    private String nodeType;

    @Schema(description = "是否叶子节点")
    @ExcelProperty("是否叶子节点")
    private String leafFlag;

    @Schema(description = "名称", example = "王五")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "其他配置")
    @ExcelProperty("其他配置")
    private String customConfig;

    @Schema(description = "自定义表单")
    @ExcelProperty("自定义表单")
    private String customForm;

    @Schema(description = "扩展数据值")
    @ExcelProperty("扩展数据值")
    private String customData;

    @Schema(description = "标签")
    @ExcelProperty("标签")
    private String tag;

    @Schema(description = "标签模板")
    @ExcelProperty("标签模板")
    private String labelTemplateKey;

    @Schema(description = "型号")
    @ExcelProperty("型号")
    private String modelNo;

    @Schema(description = "规格")
    @ExcelProperty("规格")
    private String specification;

    @Schema(description = "技术指标")
    @ExcelProperty("技术指标")
    private String parameter;

    @Schema(description = "设备用途")
    @ExcelProperty("设备用途")
    private String deviceUse;

    @Schema(description = "制造国家")
    @ExcelProperty("制造国家")
    private String manufacturerNation;

    @Schema(description = "制造商")
    @ExcelProperty("制造商")
    private String manufacturer;

    @Schema(description = "排序码")
    @ExcelProperty("排序码")
    private Integer sortNo;

    @Schema(description = "禁用标识")
    @ExcelProperty("禁用标识")
    private String cancelFlag;

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

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

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

    @Schema(description = "数据采集设备类型")
    @ExcelProperty("数据采集设备类型")
    private String collectDeviceType;
}