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
14
pkg/training/feedback.go
Normal file
14
pkg/training/feedback.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package training
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type FeedbackID uuid.UUID
|
||||
|
||||
type Feedback struct {
|
||||
ID FeedbackID
|
||||
AttendeeID AttendeeID
|
||||
Rating int
|
||||
Comment string
|
||||
IsAnonymous bool
|
||||
IsSharingAllowed bool
|
||||
}
|
||||
Reference in a new issue