package com.sptg.device.api.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.plugins.Page;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sptg.device.api.entity.TimeStrategyPushTask;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

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

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

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

    /**
     * 时间策略外键Id
     */
    @TableField(exist = false)
    private Long timeStrategyId;

    /**
     * 外键Id列表
     */
    @TableField(exist = false)
    private List<Long> fkIdList;
}
