Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnData ¶
type GqlTable ¶
type GqlTable struct {
Table string `json:"table"`
Identity string `json:"identity"`
CheckAuth struct {
IsLoggedIn bool `json:"isLoggedIn"`
Roles []int `json:"roles"`
} `json:"checkAuth"`
HiddenColumns []string `json:"hidden_columns"`
Actions struct {
Create bool `json:"create"`
Update bool `json:"update"`
Delete bool `json:"delete"`
} `json:"actions"`
Subs []SubTable `json:"subs"`
Subscription bool `json:"subscription"`
}
type ProjectCruds ¶
type ProjectCruds struct {
Form int `gorm:"column:form" json:"form"`
Grid int `gorm:"column:grid" json:"grid"`
ID int `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
ProjectsID int `gorm:"column:projects_id" json:"projects_id"`
Template string `gorm:"column:template" json:"template"`
Title string `gorm:"column:title" json:"title"`
MainTabTitle string `gorm:"column:main_tab_title" json:"main_tab_title"`
CreatedAt *time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt *time.Time `gorm:"column:updated_at" json:"updated_at"`
Actions string `gorm:"column:actions" json:"actions"`
}
func (*ProjectCruds) TableName ¶
func (p *ProjectCruds) TableName() string
type ProjectSchemas ¶
type ProjectSchemas struct {
ID int `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
Name string `gorm:"column:name" json:"name"`
ProjectsID int `gorm:"column:projects_id" json:"projects_id"`
Schema string `gorm:"column:schema" json:"schema"`
Type string `gorm:"column:type" json:"type"`
CreatedAt *time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt *time.Time `gorm:"column:updated_at" json:"updated_at"`
}
func (*ProjectSchemas) TableName ¶
func (p *ProjectSchemas) TableName() string
type SubCrud ¶
type SubCrud struct {
ConnectionField string `gorm:"column:connection_field" json:"connection_field"`
Form int `gorm:"column:form" json:"form"`
FormField string `gorm:"column:form_field" json:"form_field"`
Grid int `gorm:"column:grid" json:"grid"`
GridField string `gorm:"column:grid_field" json:"grid_field"`
ID int `gorm:"column:id" json:"id"`
MicroserviceID int `gorm:"column:microservice_id" json:"microservice_id"`
ParentID int `gorm:"column:parent_id" json:"parent_id"`
SectionCode int `gorm:"column:section_code" json:"section_code"`
Title string `gorm:"column:title" json:"title"`
}
type SubCrudSection ¶
type SubCrudSection struct {
ID int `gorm:"column:id" json:"id"`
ParintID int `gorm:"column:parint_id" json:"parint_id"`
SectionCode int `gorm:"column:section_code" json:"section_code"`
SesctionTitle string `gorm:"column:sesction_title" json:"sesction_title"`
}
func (*SubCrudSection) TableName ¶
func (s *SubCrudSection) TableName() string
type SubProjectCruds ¶
type SubProjectCruds struct {
CrudID int `gorm:"column:crud_id" json:"crud_id"`
Description string `gorm:"column:description" json:"description"`
ID int `gorm:"column:id" json:"id"`
Title string `gorm:"column:title" json:"title"`
}
func (*SubProjectCruds) TableName ¶
func (s *SubProjectCruds) TableName() string
Click to show internal directories.
Click to hide internal directories.