1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-backoffice-v2-api/pkg/training/date.go

22 lines
383 B
Go

package training
import (
"time"
"github.com/google/uuid"
)
type DateID uuid.UUID
type Date struct {
ID DateID
TrainingID ID
Date time.Time
StartTime time.Time
Days int8
Price Price
IsOnline bool
Location string // could be empty (null) for example: Prague, Brno, London, ...
Address string // could be empty (null)
Capacity int8
}