package com.bonus.canteen.core.device.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Collection;
@Data
public class DeviceSearchDTO {
   @ApiModelProperty("关键字")
   private String keyWord;
   @ApiModelProperty("设备id")
   private String deviceId;
   @ApiModelProperty("区域ID")
   private Long areaId;
   @ApiModelProperty("食堂ID")
   private Long canteenId;
   @ApiModelProperty("店铺档口id")
   private Long stallId;
   @ApiModelProperty("餐线ID")
   private Long mealLineId;
   @ApiModelProperty("菜谱id")
   private Long recipeId;
   @ApiModelProperty("设备sn码")
   private String deviceSn;
   @ApiModelProperty("设备编号")
   private String deviceNum;
   @ApiModelProperty("设备名称")
   private String deviceName;
   @ApiModelProperty("设备型号")
   private String deviceModel;
   @ApiModelProperty("设备类型")
   private Integer deviceType;
   @ApiModelProperty("关联设备id")
   private Long deviceParentId;
   @ApiModelProperty("模糊查询(sn,设备编号,设备名称)")
   private String deviceSearchInfo;
   @ApiModelProperty("设备状态 1在线 2离线（非数据库查询）")
   private String deviceState;
   @ApiModelProperty("设备状态 1在线 2离线（非数据库查询）")
   private Integer onlineState;
   @ApiModelProperty(
      value = "设备SN范围",
      hidden = true
   )
   private Collection<String> deviceSnList;
   @ApiModelProperty(
      value = "设备ID范围",
      hidden = true
   )
   private Collection<Long> deviceIdList;
   @ApiModelProperty(
      value = "设备编号范围",
      hidden = true
   )
   private Collection<String> deviceNumList;
   @ApiModelProperty(
      value = "设备类型",
      hidden = true
   )
   private Collection<Integer> deviceTypeList;
   @ApiModelProperty(
      value = "食堂ID范围",
      hidden = true
   )
   private Collection<Long> canteenIdList;
   @ApiModelProperty(
      value = "店铺档口id范围",
      hidden = true
   )
   private Collection<Long> stallIdList;
   @ApiModelProperty(
      value = "餐线id范围",
      hidden = true
   )
   private Collection<Long> mealLineIdList;
   @ApiModelProperty(
      value = "区域id范围",
      hidden = true
   )
   private Collection<Long> areaIdList;
   @ApiModelProperty(
      value = "食堂ID店铺档口id范围范围权限",
      hidden = true
   )
   private Collection<Long> canteenStallIdListPermission;
   @ApiModelProperty("是否是商家管理员")
   private Boolean isAdmin;
   @ApiModelProperty("用户id")
   private Long userId;
   @ApiModelProperty("排序字段")
   private String orderByName;
   @ApiModelProperty("true增序 false降序")
   private Boolean asc;
   @ApiModelProperty("设备是否启用 1-是 2-否")
   private Integer ifEnable;
}
