standard-covoiturage/schedules.go

20 lines
293 B
Go

package standardcovoiturage
type Day int64
const (
Monday Day = iota
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
)
type Schedule struct {
PassengerPickupDay *Day `json:"passengerPickupDay,omitempty"`
JourneySchedules *[]JourneySchedule `json:"journeySchedules,omitempty"`
}