package com.friday.operation.api.distributor.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @Author YaoYao
 * @Date Created In 15:41 2023/3/6
 * @Description 数据操作结构体
 * @Modified By
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DataRequest extends RequestBase{
    /**
     * 任务类型
     */
    private String taskType;
    /**
     * 任务标识
     */
    private String taskId;
    /**
     * 子任务标识
     */
    private Integer invokeId;
    /**
     * 操作
     */
    private String action;
    /**
     * 操作参数
     */
    private Map<String, Object> paramsMap;

}
