initial commit
This commit is contained in:
16
internal/domain/profileold/availability_rule.go
Normal file
16
internal/domain/profileold/availability_rule.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package profile
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type AvailabilityRule struct {
|
||||
ID uuid.UUID
|
||||
ProfileID uuid.UUID
|
||||
Title string
|
||||
Weekday int // 0-6, where 0 is Sunday
|
||||
Start time.Time
|
||||
End time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user