use the tuugen.yml file

This commit is contained in:
cubixle
2021-06-16 19:07:54 +01:00
parent 8f67f0703e
commit 56d9a561ef
8 changed files with 76 additions and 24 deletions
+12
View File
@@ -0,0 +1,12 @@
package tuugen
type DataModel struct {
Name string `yaml:"name"`
Properties []DataProperty `yaml:"properties"`
}
type DataProperty struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
AutoIncrement bool `yaml:"autoinc"`
}