You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package model |
|
|
|
import "gorm.io/gorm" |
|
|
|
// InitValue 房间初始化值 |
|
type InitValue struct { |
|
gorm.Model |
|
Type int32 `json:"type" gorm:"type:int2;comment:类型 1.热度初始化值"` |
|
Value int64 `json:"value" gorm:"type:int8;comment:类型 1.热度初始化值" ` |
|
} |
|
|
|
func (InitValue) TableName() string { |
|
return "init_value" |
|
}
|
|
|