generated from VLADIMIR/template
27 lines
675 B
Go
27 lines
675 B
Go
package participation_service
|
|
|
|
import (
|
|
"time"
|
|
|
|
"evening_detective_server/internal/repos/teams_repo"
|
|
)
|
|
|
|
// Participation — данные участия, доступные транспортному и email-сценариям.
|
|
type Participation struct {
|
|
TeamID int
|
|
TeamName string
|
|
GameName string
|
|
StartAt time.Time
|
|
ParticipantsCount int32
|
|
Status string
|
|
Closed bool
|
|
Email string
|
|
Attempts int
|
|
}
|
|
|
|
var (
|
|
ErrParticipationLink = teams_repo.ErrParticipationLink
|
|
ErrParticipationClosed = teams_repo.ErrParticipationClosed
|
|
ErrParticipationFinal = teams_repo.ErrParticipationFinal
|
|
)
|