modified: "main_dc/yalarba/api_yal/internal/models/\320\276bject.go"

add ownerID into Object
This commit is contained in:
2026-02-11 07:01:37 +05:00
parent bc4ecc0564
commit da90a21fd3
@@ -7,6 +7,7 @@ type Object struct {
Base Base `gorm:"embedded"`
// owner account ID
OwnerID uint `json:"owner_id"`
Owner Account `gorm:"foreignKey:OwnerID" json:"owner"`
// Основная информация