feat:完善项目
This commit is contained in:
16
app/common/model/work_instance.go
Normal file
16
app/common/model/work_instance.go
Normal file
@ -0,0 +1,16 @@
|
||||
package model
|
||||
|
||||
type WorkInstance struct {
|
||||
Model
|
||||
Title string `json:"title"`
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
|
||||
func (m *WorkInstance) TableName() string {
|
||||
return "manage_instance"
|
||||
}
|
||||
|
||||
func NewWorkInstance() *WorkInstance {
|
||||
return &WorkInstance{}
|
||||
}
|
||||
Reference in New Issue
Block a user