models

package
v0.8.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Krud

type Krud struct {
	ID         int        `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	CreatedAt  time.Time  `gorm:"column:created_at" json:"created_at"`
	UpdatedAt  time.Time  `gorm:"column:updated_at" json:"updated_at"`
	DeletedAt  *time.Time `gorm:"column:deleted_at" json:"-"`
	Title      string     `gorm:"column:title" json:"title"`
	Template   string     `gorm:"column:template" json:"template"`
	Grid       int        `gorm:"column:grid" json:"grid"`
	Form       int        `gorm:"column:form" json:"form"`
	Actions    string     `gorm:"column:actions" json:"actions"`
	FormSchema Schemas    `gorm:"-" json:"form_schema"`
	GridSchema Schemas    `gorm:"-" json:"grid_schema"`
}

type LambdaExportData

type LambdaExportData struct {
	Kruds []Krud `json:"kruds"`
}

type Schemas

type Schemas struct {
	CreatedAt *time.Time `gorm:"column:created_at" json:"created_at"`
	ID        int        `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	Name      string     `gorm:"column:name" json:"name"`
	Schema    string     `gorm:"column:schema" json:"schema"`
	Type      string     `gorm:"column:type" json:"type"`
	UpdatedAt *time.Time `gorm:"column:updated_at" json:"updated_at"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL