package controller

type Resp struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

type ListData struct {
	Total  int         `json:"total"`
	Items  interface{} `json:"items"`
	More   bool        `json:"more"`
	Offset int         `json:"offset"`
}

type SQLInfo struct {
	Content     string   `json:"Content"`
	ClusterName string   `json:"ClusterName"`
	DbName      string   `json:"DbName"`
	RuleItems   []string `json:"RuleItems"`
}

type SQLFile struct {
	Name        string   `json:"Name"`
	ClusterName string   `json:"ClusterName"`
	DbName      string   `json:"DbName"`
	RuleItems   []string `json:"RuleItems"`
}
