main v1.0.1
alex 2024-09-07 13:14:15 +02:00
parent 0d9f4c9d96
commit 48e8493de4
1 changed files with 16 additions and 0 deletions

16
models/organizations.go Normal file
View File

@ -0,0 +1,16 @@
package models
import "time"
type Organization struct {
Id string `gorm:"primaryKey;type:varchar(36)"`
Subdomain string `gorm:"type:varchar(255)"`
OwnerUserId string `gorm:"type:varchar(36)"`
CompanyName string `gorm:"type:varchar(255)"`
PrimaryColor string `gorm:"type:varchar(6)"`
LogoUrl string `gorm:"type:varchar(255)"`
BannerUrl string `gorm:"type:varchar(255)"`
SignUpScreenUrl string `gorm:"type:varchar(255)"`
CreatedAt time.Time
UpdatedAt time.Time
}