23 lines
476 B
Go
23 lines
476 B
Go
package profile
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type BookingService struct {
|
|
ID uuid.UUID
|
|
ProfileID uuid.UUID
|
|
BookingServiceTypeID uuid.UUID
|
|
BookingServiceType BookingServiceType
|
|
Title string
|
|
Description string
|
|
Duration int // in minutes
|
|
Price int // in cents or smallest currency unit
|
|
MaxBookingDays int
|
|
}
|
|
|
|
type BookingServiceType struct {
|
|
ID uuid.UUID
|
|
Name string
|
|
}
|