tables

package
v0.0.0-...-7d80f3d Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonStruct

type CommonStruct struct {
	ID         int64     `json:"id"          gorm:"column:id;primaryKey;autoIncrement:true"`
	ExtID      int64     `json:"ext_id"      gorm:"column:ext_id;default:null"`
	CreatedAt  time.Time `json:"created_at"  gorm:"column:created_at;autoCreateTime;<-:create;"`
	ModifiedAt time.Time `json:"modified_at" gorm:"column:modified_at;autoUpdateTime"`
	DeletedAt  time.Time `json:"deleted_at"  gorm:"column:deleted_at;default:null"`
	IsDeleted  bool      `json:"is_deleted"  gorm:"column:is_deleted;default:false"`
}

type ExtLinkStruct

type ExtLinkStruct struct {
	TableNameID int64 `json:"table_name_id" gorm:"column:table_name_id;default:null"`
	TableRowID  int64 `json:"table_row_id"  gorm:"column:table_row_id;default:null"`
}

type GroupStruct

type GroupStruct struct {
	IsGroup  bool  `json:"is_group"  gorm:"column:is_group;default:false"`
	ParentID int64 `json:"parent_id" gorm:"column:parent_id;default:null"`
}

type NameStruct

type NameStruct struct {
	Description string `json:"description" gorm:"column:description;default:\"\""`
	Name        string `json:"name"        gorm:"column:name;default:\"\""`
}

Jump to

Keyboard shortcuts

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