sekthor / singing-city

PoC app connecting musicians and venues for music festival gigs
1 stars 0 forks source link

support multiple festivals (events) #77

Open sekthor opened 9 months ago

sekthor commented 9 months ago

New Entities

An Event a consists of multiple Performances (Timeslots) of participating Artists at participating Venues over a fixed span of time.

type Event struct {
    ID    string
    Name  string
    Start time.Time 
    End   time.Time
}
type EventParticipant struct {
    UserId  string `gorm:"primaryKey"`
    EventId string `gorm:"primaryKey"`
}