TaskData.java 556 Bytes
package com.viontech.fanxing.task.model;

import com.viontech.fanxing.commons.model.Task;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * .
 *
 * @author 谢明辉
 * @date 2021/7/12
 */
@NoArgsConstructor
@Getter
@Setter
public class TaskData implements Serializable {

    private Task task;

    private RuntimeConfig runtimeConfig;

    private String storeConfig;


    public TaskData(Task task) {
        this.task = task;
        runtimeConfig = new RuntimeConfig(task);
    }


}