package cn.iocoder.yudao.module.pms.controller.admin.yanfan.var.vo;

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

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

@Schema(description = "管理后台 - yf设备采集变量模板对象 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotYfVarTempRespVO {

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

    @Schema(description = "模板名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("模板名称")
    private String templateName;

    @Schema(description = "类型", example = "1")
    @ExcelProperty("类型")
    private Integer type;

    @Schema(description = "采集方式 1.云端轮询 2.云端边缘计算", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("采集方式 1.云端轮询 2.云端边缘计算")
    private Integer pollingMethod;

    @Schema(description = "模板所属用户", example = "25672")
    @ExcelProperty("模板所属用户")
    private Integer userId;

    @Schema(description = "从机总数")
    @ExcelProperty("从机总数")
    private Long slaveTotal;

    @Schema(description = "总采集点数")
    @ExcelProperty("总采集点数")
    private Long pointTotal;

    @Schema(description = "是否分享")
    @ExcelProperty("是否分享")
    private Integer share;

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

    @Schema(description = "部门id", example = "26471")
    @ExcelProperty("部门id")
    private Long deptId;

}
