Added buyer seller bolean

This commit is contained in:
Nedim
2023-11-15 16:16:44 +01:00
parent d7f79c51c3
commit 903da29fed
5 changed files with 25 additions and 10 deletions

View File

@@ -20,6 +20,7 @@ type Company struct {
Phone string `json:"phone"`
Users []User `gorm:"many2many:user_companies;"`
Devices []Device `json:"devices"`
IsBuyer bool `json:"isBuyer"`
}
type School struct {