started datamodelling papas excel tables

This commit is contained in:
2025-04-13 01:24:44 +02:00
parent 96f2a3762f
commit 0564489b95
6 changed files with 128 additions and 34 deletions

View 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"
}