package com.sptg.device.api.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.plugins.Page;
import com.sptg.device.api.entity.DeviceOptions;
import com.sptg.device.api.entity.DeviceTemplate;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * title: DeviceDto
 * package: com.sptg.device.api.dto
 * description: 设备数据传输对象
 */
@Getter
@Setter
public class DeviceOptionsDto extends DeviceOptions {

    /**
     * 分页条件
     */
    @TableField(exist = false)
    private Page<DeviceOptions> page;

    /**
     * 排序条件
     */
    @TableField(exist = false)
    private String sortField;

    /**
     * 排序顺序
     */
    @TableField(exist = false)
    private String sortOrder;

    /**
     * 设备ids
     */
    @TableField(exist = false)
    private List<Long> deviceIds;
    @TableField(exist = false)
    private Integer all;
}
