datamodel done without validators
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
package customer
|
||||
|
||||
import "wagfarm-api/taxonomy/base"
|
||||
import (
|
||||
"wagfarm-api/database"
|
||||
"wagfarm-api/taxonomy/base"
|
||||
)
|
||||
|
||||
type Customer struct{ base.Taxonomy }
|
||||
|
||||
func RegisterModels() { database.RegisterModel(&Customer{}) }
|
||||
|
||||
Reference in New Issue
Block a user