Skip to content

Commit

Permalink
create attendee model
Browse files Browse the repository at this point in the history
  • Loading branch information
caioeverest committed Jan 27, 2024
1 parent a779536 commit a890f8d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pkg/attendee/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@ package attendee
import (
"gorm.io/gorm"

"github.com/marcopollivier/techagenda/pkg/event"
"github.com/marcopollivier/techagenda/pkg/user"
)

type Attendee struct {
gorm.Model
FullName string
ContactInfo string
Metadata any
EventID string
UserID string
Metadata any `gorm:"serializer:json"`
EventID uint
UserID uint

event.Event
user.User
User user.User
}

0 comments on commit a890f8d

Please sign in to comment.