feat: add pkg/training/ with types, structs, and repository interfaces
This commit is contained in:
parent
afe0f18523
commit
00158e89fe
9 changed files with 113 additions and 0 deletions
17
pkg/training/attendee.go
Normal file
17
pkg/training/attendee.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package training
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type AttendeeID uuid.UUID
|
||||
|
||||
type Attendee struct {
|
||||
ID AttendeeID
|
||||
DateID DateID
|
||||
Name string
|
||||
Email string
|
||||
Company string
|
||||
Role string
|
||||
IsStudent bool
|
||||
HasAttended bool
|
||||
HasPaid bool
|
||||
}
|
||||
Reference in a new issue