initial commit
This commit is contained in:
22
internal/domain/profileold/booking_service.go
Normal file
22
internal/domain/profileold/booking_service.go
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user