✨ init project
This commit is contained in:
12
model/system/Class.go
Normal file
12
model/system/Class.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package system
|
||||
|
||||
import "git.echol.cn/loser/lckt/global"
|
||||
|
||||
type Class struct {
|
||||
global.GVA_MODEL
|
||||
Name string `json:"name" gorm:"comment:分类名"`
|
||||
}
|
||||
|
||||
func (c *Class) TableName() string {
|
||||
return "class"
|
||||
}
|
||||
Reference in New Issue
Block a user