Improve model and add roles
This commit is contained in:
parent
488da64ccf
commit
3e984d059c
5 changed files with 32 additions and 38 deletions
|
|
@ -4,6 +4,8 @@ import "gorm.io/gorm"
|
|||
|
||||
type Person struct {
|
||||
gorm.Model
|
||||
IsMember bool
|
||||
IsContact bool
|
||||
FirstName string
|
||||
LastName string
|
||||
Email string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue