// 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 const TableNameGameLink = "game_link" // GameLink mapped from table type GameLink struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` HashID string `gorm:"column:hash_id;type:varchar(20);not null;uniqueIndex:uniq_hash_id,priority:1" json:"hash_id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` IsDel int8 `gorm:"column:is_del;type:tinyint;not null" json:"is_del"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_project_id_game_id,priority:1;comment:项目id" json:"project_id"` GameID int64 `gorm:"column:game_id;type:bigint;not null;index:idx_project_id_game_id,priority:2;comment:游戏id" json:"game_id"` Title string `gorm:"column:title;type:varchar(64);not null;comment:标题" json:"title"` IsDefault int8 `gorm:"column:is_default;type:tinyint;not null;comment:是否默认(0-否,1-是)" json:"is_default"` } // TableName GameLink's table name func (*GameLink) TableName() string { return TableNameGameLink }