Documentation
¶
Index ¶
Constants ¶
View Source
const (
FieldValueJoin = "LEFT JOIN xf_nf_rosters_field_value on xf_nf_rosters_field_value.relation_id = xf_nf_rosters_user.relation_id"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Award ¶
type AwardRecord ¶
type AwardRecord struct {
RecordID uint64
RelationID uint64
AwardID uint64
FromUserID uint64
Details string
AwardDate uint
CitationDate uint
Award Award `gorm:"foreignKey:AwardID;references:AwardId"`
}
func (AwardRecord) TableName ¶
func (AwardRecord) TableName() string
type CustomFields ¶
type FieldValue ¶
func (FieldValue) TableName ¶
func (ca FieldValue) TableName() string
type Position ¶
type PositionGroups ¶
type PositionGroups struct {
PositionGroupId uint64 `gorm:"primaryKey"`
Title string
DisplayOrder uint
}
func (PositionGroups) TableName ¶
func (PositionGroups) TableName() string
type Profile ¶
type Profile struct {
RelationId uint64 `gorm:"primaryKey"`
RosterId uint64
UserID uint64
Username string
//RealName string RealName is now a custom field
PositionID uint64
SecondaryPositionIds string
RankID uint64
Bio string
UniformDate int
AddedDate int
CustomFields string
XfUser XfUser `gorm:"foreignKey:UserID;references:user_id"`
Primary Position `gorm:"foreignKey:PositionID;references:position_id"`
Rank Rank `gorm:"foreignKey:RankID;references:rank_id"`
Records []Record `gorm:"foreignKey:RelationID"`
AwardRecords []AwardRecord `gorm:"foreignKey:RelationID"`
ConnectedAccount []xenforo.ConnectedAccount `gorm:"foreignKey:UserID;references:user_id"`
}
func (*Profile) UniformUrl ¶
func (*Profile) UnmarshalCustomFields ¶
func (profile *Profile) UnmarshalCustomFields() CustomFields
type Rank ¶
type Record ¶
type RecordType ¶
func (RecordType) TableName ¶
func (RecordType) TableName() string
Click to show internal directories.
Click to hide internal directories.