DataSetInfo.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package jnpf.model.data;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import jakarta.validation.constraints.NotBlank;
  4. import jnpf.model.report.TableTreeModel;
  5. import lombok.Data;
  6. import java.io.Serializable;
  7. import java.util.List;
  8. /**
  9. * @author :JNPF开发平台组
  10. * @version: V3.1.0
  11. * @copyright 引迈信息技术有限公司
  12. * @date :2024/5/11 下午4:35
  13. */
  14. @Data
  15. @Schema(description = "数据集合详情")
  16. public class DataSetInfo implements Serializable {
  17. @Schema(description = "主键")
  18. private String id;
  19. @Schema(description = "关联数据类型")
  20. private String objectType;
  21. @Schema(description = "关联数据类型")
  22. private String objectId;
  23. @NotBlank
  24. @Schema(description = "数据集名称")
  25. private String fullName;
  26. @NotBlank
  27. @Schema(description = "数据库连接")
  28. private String dbLinkId;
  29. @Schema(description = "数据sql语句")
  30. private String dataConfigJson;
  31. @Schema(description = "参数json")
  32. private String parameterJson;
  33. @Schema(description = "字段json")
  34. private String fieldJson;
  35. @Schema(description = "类型:1-sql语句,2-配置式")
  36. private Integer type;
  37. @Schema(description = "sql语句")
  38. private String visualConfigJson;
  39. @Schema(description = "配置式json")
  40. private String filterConfigJson;
  41. @Schema(description = "数据接口名称")
  42. private String treePropsName;
  43. @Schema(description = "数据接口id")
  44. private String interfaceId;
  45. @Schema(description = "字段信息")
  46. private List<TableTreeModel> children;
  47. @Schema(description = "结果集筛选 1-所有数据,2-前n条数据,3-后n条数据,4-奇数条数据,5-偶数条数据,6-指定数据")
  48. private String resultFilter;
  49. @Schema(description = "用户指定数据")
  50. private String specifiedData;
  51. }