Added buyer seller bolean
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user