Documentation ¶
Index ¶
- Variables
- type Subject
- type User
- func (u *User) ArchiveQueries(db orm.DB) []*orm.Query
- func (u *User) Clone() *User
- func (u *User) CloneNew() *User
- func (u *User) CreateQueries(db orm.DB) []*orm.Query
- func (u *User) DeleteQueries(db orm.DB) []*orm.Query
- func (u *User) GetAuthID() string
- func (u *User) GetEntity() *Entity
- func (u *User) GetLegalID() string
- func (u *User) GetLegalIDType() string
- func (u *User) IsActive() bool
- func (u *User) IsConcrete() bool
- func (u *User) SetActive(a bool)
- func (u *User) SetAuthID(id string)
- func (u *User) SetLegalID(id string)
- func (u *User) SetLegalIDType(t string)
- func (u *User) UpdateQueries(db orm.DB) []*orm.Query
Constants ¶
This section is empty.
Variables ¶
View Source
var UserFields = append(EntityFields,
`auth_id`,
`legal_id`,
`legal_id_type`,
`active`,
)
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Subject AuthID string `json:"authId"` LegalID string `json:"legalId"` LegalIDType string `json:"legalIdType"` Active bool `json:"active" sql:",notnull"` // contains filtered or unexported fields }
func (*User) GetLegalID ¶
func (*User) GetLegalIDType ¶
func (*User) IsConcrete ¶
func (*User) SetLegalID ¶
func (*User) SetLegalIDType ¶
Click to show internal directories.
Click to hide internal directories.