models

package
v0.7.89 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 2 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"`
	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"`
	CreatedAt time.Time      `gorm:"column:created_at" json:"created_at"`
	UpdatedAt time.Time      `gorm:"column:updated_at" json:"updated_at"`
	DeletedAt gorm.DeletedAt `gorm:"column:deleted_at" json:"-"`
}

func (*Krud) TableName

func (v *Krud) TableName() string

TableName sets the insert table name for this struct type

type KrudOracle

type KrudOracle struct {
	ID        int            `gorm:"column:ID;primaryKey;autoIncrement" json:"id"`
	Actions   *string        `gorm:"column:ACTIONS" json:"actions"`
	Form      *int           `gorm:"column:FORM" json:"form"`
	Grid      *int           `gorm:"column:GRID" json:"grid"`
	Template  *string        `gorm:"column:TEMPLATE" json:"template"`
	Title     *string        `gorm:"column:TITLE" json:"title"`
	CreatedAt *time.Time     `gorm:"column:CREATED_AT" json:"created_at"`
	UpdatedAt *time.Time     `gorm:"column:UPDATED_AT" json:"updated_at"`
	DeletedAt gorm.DeletedAt `gorm:"column:DELETED_AT" json:"-"`
}

func (*KrudOracle) TableName

func (v *KrudOracle) TableName() string

TableName sets the insert table name for this struct type

type KrudTemplate

type KrudTemplate struct {
	ID           int    `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	TemplateName string `gorm:"column:template_name" json:"template_name"`
}

func (*KrudTemplate) TableName

func (v *KrudTemplate) TableName() string

TableName sets the insert table name for this struct type

type KrudTemplateOracle

type KrudTemplateOracle struct {
	ID           int    `gorm:"column:ID;primaryKey;autoIncrement" json:"id"`
	TemplateName string `gorm:"column:TEMPLATE_NAME" json:"template_name"`
}

func (*KrudTemplateOracle) TableName

func (v *KrudTemplateOracle) TableName() string

TableName sets the insert table name for this struct type

type ProjectCruds

type ProjectCruds struct {
	ID           int             `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
	Form         int             `gorm:"column:form" json:"form"`
	Grid         int             `gorm:"column:grid" json:"grid"`
	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"`
	DeletedAt    *gorm.DeletedAt `gorm:"column:deleted_at" json:"-"`
}

func (*ProjectCruds) TableName

func (p *ProjectCruds) TableName() string

Jump to

Keyboard shortcuts

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