Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conversation ¶
type CustomClaims ¶
type PairedUsers ¶
type Patient ¶
type Patient struct { gorm.Model NickName string `json:"NickName"` Password string `json:"Password"` PairedUsers []PairedUsers }
func (*Patient) GetPairedUsers ¶
func (p *Patient) GetPairedUsers() []PairedUsers
type Profile ¶
type Profile struct { gorm.Model ID uint Psychologist uint `gorm:"primaryKey;autoIncrement:false"` PhoneNumber string `json:"PhoneNumber"` Image string `json:"Image"` Country string `json:"Country"` FocusedArea string `json:"FocusedArea"` Address string `json:"Address"` Description string `json:"Description"` }
type Psychologist ¶
type Psychologist struct { gorm.Model FirstName string `json:"FirstName"` LastName string `json:"LastName"` Email string `json:"Email"` Password string `json:"Password"` IsVerfied bool `json:"IsVerfied" gorm:"default:false"` IsDeleted bool `json:"IsDeleted" gorm:"default:false"` PairedUsers []PairedUsers Profile Profile `gorm:"foreignKey:Psychologist"` }
Click to show internal directories.
Click to hide internal directories.