Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct { gorm.Model Name string `header:"Name"` Description string `header:"Description"` Budget float64 `header:"Budget"` StartDate time.Time `header:"Start Date"` Finished bool `header:"Completed" gorm:"'Finished' boolean"` CompanyRef uint `header:"Company Ref"` Company Company `gorm:"foreignKey:CompanyRef"` Users []User `gorm:"many2many:projects_users;"` }
type User ¶
type User struct { gorm.Model FirstName string `header:"First Name"` LastName string `header:"Last Name"` Email string `header:"Email"` Username string `header:"Username"` Password string `header:"Password"` Active bool `gorm:"'Active' boolean"` Projects []Project `gorm:"many2many:projects_users;"` }
Click to show internal directories.
Click to hide internal directories.