started datamodelling papas excel tables
This commit is contained in:
7
wagfarm-api/models/taxonomy_models.go
Normal file
7
wagfarm-api/models/taxonomy_models.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package models
|
||||
|
||||
type Taxonomy struct {
|
||||
ID uint `gorm:"primaryKey" json:"id"`
|
||||
Type string `gorm:"not null;index" json:"type"` // e.g., "unit", "color", etc.
|
||||
Name string `gorm:"not null;index" json:"name"` // e.g., "kg", "lb"
|
||||
}
|
||||
Reference in New Issue
Block a user