package cn.iocoder.yudao.module.iot.controller.admin.devicecontactmodel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 采集设备模型-点位管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceContactModelRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13209")
//    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "点位编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("点位编码")
    private String attributeCode;

    @Schema(description = "点位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("点位名称")
    private String attributeName;

    @Schema(description = "点位类型", example = "1")
    @ExcelProperty("点位类型")
    private String attributeType;

    @Schema(description = "数据类型", example = "1")
    @ExcelProperty("数据类型")
    private String dataType;

    @Schema(description = "寄存器地址")
    @ExcelProperty("寄存器地址")
    private String address;

    @Schema(description = "单位")
    @ExcelProperty("单位")
    private String dataUnit;

    @Schema(description = "倍率")
    @ExcelProperty("倍率")
    private Double ratio;

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

    @Schema(description = "采集设备模型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13862")
    @ExcelProperty("采集设备模型id")
    private Long deviceModelId;

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

    @Schema(description = "排序", example = "1")
    @ExcelProperty("排序")
    private int sort;

    @Schema(description = "采集点类型名称", example = "1")
    private String typeName;


}