package com.friday.operation.api.executor.dto.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @Author YaoYao
 * @Date Created In 14:16 2023/4/4
 * @Description 资讯中心查询数据结果封装结构体
 * @Modified By
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InterProviderResult implements Serializable {
    /**
     * 是否成功
     */
    private Boolean success;
    /**
     * 失败信息
     */
    private String failMsg;
    /**
     * 符合条件总数
     */
    private int totalCount;
    /**
     * 返回数据数
     */
    private int dataCount;
    /**
     * 数据
     */
    private List<Map<String, Object>> dataList;
    /**
     * 查询列名
     */
    private String[] selectedFields;
}
