All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.foxtech.common.entity.entity.DeviceValueExTaskPo Maven / Gradle / Ivy

package cn.foxtech.common.entity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter(value = AccessLevel.PUBLIC)
@Setter(value = AccessLevel.PUBLIC)
@TableName("tb_device_value_task")
public class DeviceValueExTaskPo extends DeviceValueExTaskBase {
    /**
     * JSON参数
     */
    private String taskParam;

    /**
     * 业务Key:这个可能不是唯一的,不要用它查找唯一性数据,可以用它来筛选数据
     *
     * @return 业务Key
     */
    public List makeServiceKeyList() {
        return super.makeServiceKeyList();
    }

    /**
     * 查询过滤器
     *
     * @return 过滤器
     */
    public Object makeWrapperKey() {
        return super.makeWrapperKey();
    }

    /**
     * 获取业务值
     *
     * @return 对象列表
     */
    public List makeServiceValueListList() {
        List list = this.makeServiceValueList();
        list.add(this.taskParam);

        return list;
    }
}