Documentation
¶
Index ¶
- type User
- func (m *User) BeforeCreate(scope *gorm.Scope) error
- func (m *User) BeforeUpdate(scope *gorm.Scope) error
- func (m *User) ConvertToTableRow() (tables.UserTable, error)
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetAge() int32
- func (m *User) GetBio() string
- func (m *User) GetBirthDate() string
- func (m *User) GetContact() *common.Contact
- func (m *User) GetCreatedAt() *timestamp.Timestamp
- func (m *User) GetEmail() string
- func (m *User) GetFirstName() string
- func (m *User) GetGender() string
- func (m *User) GetGroups() []*common.TeamMember
- func (m *User) GetHeadline() string
- func (m *User) GetID() uint32
- func (m *User) GetIntent() string
- func (m *User) GetLanguages() string
- func (m *User) GetLastName() string
- func (m *User) GetPassWordConfirmed() string
- func (m *User) GetPassword() string
- func (m *User) GetPhoneNumber() string
- func (m *User) GetSettings() *common.Settings
- func (m *User) GetSkills() *common.SkillSet
- func (m *User) GetSocialMedia() *common.SocialMedia
- func (m *User) GetTeams() []*common.TeamMember
- func (m *User) GetType() string
- func (m *User) GetUpdatedAt() *timestamp.Timestamp
- func (m *User) GetUserAddress() *common.Address
- func (m *User) GetUserEducation() *common.Education
- func (m *User) GetUserInterests() *common.Interests
- func (m *User) GetUserName() string
- func (m *User) GetUserSubscriptions() *common.Subscriptions
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID uint32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` Type string `protobuf:"bytes,4,opt,name=Type,proto3" json:"Type,omitempty"` FirstName string `protobuf:"bytes,5,opt,name=FirstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,6,opt,name=LastName,proto3" json:"LastName,omitempty"` UserName string `protobuf:"bytes,7,opt,name=UserName,proto3" json:"UserName,omitempty"` Gender string `protobuf:"bytes,8,opt,name=Gender,proto3" json:"Gender,omitempty"` Languages string `protobuf:"bytes,9,opt,name=Languages,proto3" json:"Languages,omitempty"` Password string `protobuf:"bytes,10,opt,name=Password,proto3" json:"Password,omitempty"` PassWordConfirmed string `protobuf:"bytes,11,opt,name=PassWordConfirmed,proto3" json:"PassWordConfirmed,omitempty"` Age int32 `protobuf:"varint,12,opt,name=Age,proto3" json:"Age,omitempty"` BirthDate string `protobuf:"bytes,13,opt,name=BirthDate,proto3" json:"BirthDate,omitempty"` PhoneNumber string `protobuf:"bytes,14,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"` Bio string `protobuf:"bytes,15,opt,name=Bio,proto3" json:"Bio,omitempty"` Headline string `protobuf:"bytes,16,opt,name=Headline,proto3" json:"Headline,omitempty"` Intent string `protobuf:"bytes,17,opt,name=Intent,proto3" json:"Intent,omitempty"` UserAddress *common.Address `protobuf:"bytes,18,opt,name=UserAddress,proto3" json:"UserAddress,omitempty"` UserEducation *common.Education `protobuf:"bytes,19,opt,name=UserEducation,proto3" json:"UserEducation,omitempty"` UserInterests *common.Interests `protobuf:"bytes,20,opt,name=UserInterests,proto3" json:"UserInterests,omitempty"` UserSubscriptions *common.Subscriptions `protobuf:"bytes,21,opt,name=UserSubscriptions,proto3" json:"UserSubscriptions,omitempty"` Skills *common.SkillSet `protobuf:"bytes,22,opt,name=Skills,proto3" json:"Skills,omitempty"` Groups []*common.TeamMember `protobuf:"bytes,23,rep,name=Groups,proto3" json:"Groups,omitempty"` Teams []*common.TeamMember `protobuf:"bytes,24,rep,name=Teams,proto3" json:"Teams,omitempty"` SocialMedia *common.SocialMedia `protobuf:"bytes,25,opt,name=SocialMedia,proto3" json:"SocialMedia,omitempty"` Contact *common.Contact `protobuf:"bytes,26,opt,name=Contact,proto3" json:"Contact,omitempty"` Settings *common.Settings `protobuf:"bytes,27,opt,name=Settings,proto3" json:"Settings,omitempty"` Email string `protobuf:"bytes,28,opt,name=Email,proto3" json:"Email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetBirthDate ¶
func (*User) GetContact ¶
func (*User) GetCreatedAt ¶
func (*User) GetFirstName ¶
func (*User) GetGroups ¶
func (m *User) GetGroups() []*common.TeamMember
func (*User) GetHeadline ¶
func (*User) GetLanguages ¶
func (*User) GetLastName ¶
func (*User) GetPassWordConfirmed ¶
func (*User) GetPassword ¶
func (*User) GetPhoneNumber ¶
func (*User) GetSettings ¶
func (*User) GetSocialMedia ¶
func (m *User) GetSocialMedia() *common.SocialMedia
func (*User) GetTeams ¶
func (m *User) GetTeams() []*common.TeamMember
func (*User) GetUpdatedAt ¶
func (*User) GetUserAddress ¶
func (*User) GetUserEducation ¶
func (*User) GetUserInterests ¶
func (*User) GetUserName ¶
func (*User) GetUserSubscriptions ¶
func (m *User) GetUserSubscriptions() *common.Subscriptions
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.