// 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 TableNameServerOption = "server_option" // ServerOption mapped from table type ServerOption struct { ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"` Name string `gorm:"column:name;type:varchar(128);not null;index:name,priority:1" json:"name"` // 服务器名称 ServerID int32 `gorm:"column:server_id;type:int(11);index:server_id,priority:1" json:"server_id"` // 服务器ID DbID int32 `gorm:"column:db_id;type:int(11)" json:"db_id"` } // TableName ServerOption's table name func (*ServerOption) TableName() string { return TableNameServerOption }