parent
799b2c6628
commit
fd178a7c9e
@ -0,0 +1,3 @@
|
|||||||
|
package init
|
||||||
|
|
||||||
|
import _ "src/module/category"
|
||||||
@ -0,0 +1 @@
|
|||||||
|
package category
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
package category
|
||||||
|
|
||||||
|
func (Category) TableName() string {
|
||||||
|
return "category"
|
||||||
|
}
|
||||||
|
|
||||||
|
type Category struct {
|
||||||
|
Id int64 `json:"id"`
|
||||||
|
FormTemplateId int64 `json:"form_template_id"`
|
||||||
|
DataId int64 `json:"data_id"`
|
||||||
|
Data string `json:"data"`
|
||||||
|
}
|
||||||
Loading…
Reference in new issue