22 lines
783 B
Go
22 lines
783 B
Go
// 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 models
|
|
|
|
const TableNameChrRace = "chrRaces"
|
|
|
|
// ChrRace mapped from table <chrRaces>
|
|
type ChrRace struct {
|
|
RaceID int32 `gorm:"column:raceID;type:INTEGER" json:"raceID"`
|
|
RaceName string `gorm:"column:raceName;type:VARCHAR(100)" json:"raceName"`
|
|
Description string `gorm:"column:description;type:VARCHAR(1000)" json:"description"`
|
|
IconID int32 `gorm:"column:iconID;type:INTEGER" json:"iconID"`
|
|
ShortDescription string `gorm:"column:shortDescription;type:VARCHAR(500)" json:"shortDescription"`
|
|
}
|
|
|
|
// TableName ChrRace's table name
|
|
func (*ChrRace) TableName() string {
|
|
return TableNameChrRace
|
|
}
|