feat[BE-332]: add api get one tab sapronak

This commit is contained in:
giovanni-ce
2025-12-08 21:33:29 +07:00
parent 296e8e4c18
commit 4b147a3be7
8 changed files with 434 additions and 3 deletions
+1
View File
@@ -20,5 +20,6 @@ type Kandang struct {
CreatedUser User `gorm:"foreignKey:CreatedBy;references:Id"`
Location Location `gorm:"foreignKey:LocationId;references:Id"`
Pic User `gorm:"foreignKey:PicId;references:Id"`
Warehouses []Warehouse `gorm:"foreignKey:KandangId;references:Id"`
ProjectFlockKandangs []ProjectFlockKandang `gorm:"foreignKey:KandangId;references:Id" json:"-"`
}