12345678910111213141516171819202122232425262728 |
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- package model
- import (
- "time"
- "gorm.io/gorm"
- )
- const TableNameWorld = "world"
- // World mapped from table <world>
- type World struct {
- ID string `gorm:"column:id;type:varchar(100);primaryKey" json:"id"`
- SceneID string `gorm:"column:scene_id;type:varchar(100);not null" json:"scene_id"`
- WorldURL string `gorm:"column:world_url;type:varchar(255);not null" json:"world_url"`
- CreatedAt time.Time `gorm:"column:created_at;type:datetime;not null" json:"created_at"`
- UpdatedAt *time.Time `gorm:"column:updated_at;type:datetime" json:"updated_at"`
- DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime" json:"deleted_at"`
- }
- // TableName World's table name
- func (*World) TableName() string {
- return TableNameWorld
- }
|