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

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - yf设备采集变量模板对象分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotYfVarTempPageReqVO extends PageParam {

    @Schema(description = "模板名称", example = "王五")
    private String templateName;

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

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

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

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

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

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

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

}
