package models // Org represents an organization type Org struct { ID []byte `gorm:"type:BINARY(16);primaryKey"` Inserted uint64 `gorm:"column:inserted;not null"` Updated uint64 `gorm:"column:updated;not null"` Name string `gorm:"column:name;size:100;not null"` Currency string `gorm:"column:currency;size:10;not null"` Precision int `gorm:"column:precision;not null"` Timezone string `gorm:"column:timezone;size:100;not null"` Accounts []Account `gorm:"foreignKey:OrgID"` UserOrgs []UserOrg `gorm:"foreignKey:OrgID"` }