Documentation
¶
Index ¶
Constants ¶
View Source
const TableNameCabinet = "cabinets"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cabinet ¶
type Cabinet struct { ID int64 `gorm:"column:id;type:bigint;not null" json:"id"` UUID *string `gorm:"column:uuid;type:uuid;not null;index:idx_cabinets_uuid,priority:1;default:gen_random_uuid()" json:"uuid"` Name string `gorm:"column:name;type:text;not null" json:"name"` CreatedAt time.Time `gorm:"column:created_at;type:timestamp with time zone;not null" json:"created_at"` UpdatedAt *time.Time `gorm:"column:updated_at;type:timestamp with time zone" json:"updated_at"` }
Cabinet mapped from table <cabinets>
Click to show internal directories.
Click to hide internal directories.