init: 初始化项目
This commit is contained in:
11
internal/app/model.go
Normal file
11
internal/app/model.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package app
|
||||
|
||||
import "nebula/types"
|
||||
|
||||
type App struct {
|
||||
ID string `gorm:"primaryKey" json:"id"`
|
||||
Name string `gorm:"not null" json:"name"`
|
||||
Description string `json:"description"`
|
||||
CreatedAt types.JSONTime `json:"createdAt"`
|
||||
UpdatedAt types.JSONTime `json:"updatedAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user