-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: appended schema with accepting_appointments
- Loading branch information
1 parent
2811521
commit e04220f
Showing
7 changed files
with
128 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
package api | ||
|
||
type Therapist struct { | ||
ID int `bun:"id,pk,autoincrement" json:"id"` | ||
Title string `json:"title"` | ||
Credentials string `json:"credentials"` | ||
Verified string `json:"verified"` | ||
Statement string `json:"statement"` | ||
Phone string `json:"phone"` | ||
Location string `json:"location"` | ||
Link string `json:"link"` | ||
ID int `bun:"id,pk,autoincrement" json:"id"` | ||
Title string `json:"title"` | ||
AcceptingAppointments string `json:"accepting_appointments"` | ||
Credentials string `json:"credentials"` | ||
Verified string `json:"verified"` | ||
Statement string `json:"statement"` | ||
Phone string `json:"phone"` | ||
Location string `json:"location"` | ||
Link string `json:"link"` | ||
} | ||
|
||
type GetTherapistParams struct { | ||
Title *string `json:"title"` | ||
Credentials *string `json:"credentials"` | ||
Verified *string `json:"verified"` | ||
Statement *string `json:"statement"` | ||
Phone *string `json:"phone"` | ||
Location *string `json:"location"` | ||
Link *string `json:"link"` | ||
Limit *int `json:"limit"` | ||
Offset *int `json:"offset"` | ||
Title *string `json:"title"` | ||
Credentials *string `json:"credentials"` | ||
AcceptingAppointments *bool `json:"accepting_appointments"` | ||
Verified *string `json:"verified"` | ||
Statement *string `json:"statement"` | ||
Phone *string `json:"phone"` | ||
Location *string `json:"location"` | ||
Link *string `json:"link"` | ||
Limit *int `json:"limit"` | ||
Offset *int `json:"offset"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters