package com.sptg.device.api.dto;

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

import java.util.List;

/**
 * title: TimeStrategyDto
 * package: com.sptg.device.api.dto
 * description: 时间策略-数据传输对象
 */
@Setter
@Getter
public class TimeStrategyDto extends TimeStrategy {
    /**
     * 分页
     */
    @TableField(exist = false)
    private Page<TimeStrategy> page;

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

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

    /**
     *时间段参数
     */
    private  String [] strategyTimeParams;
}
