Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenClaims ¶
type Client ¶
type Identity ¶
type NationalIdentity ¶
type NationalIdentity struct { alira.Model IdentityID string UserID string Document string NationID string Fullname string BirthPlace string BirthDate time.Time `gorm:"default:null"` Address string `gorm:"default:null"` City string `gorm:"default:null"` State string `gorm:"default:null"` Province string `gorm:"default:null"` Country string `gorm:"default:null"` PostalCode string `gorm:"default:null"` BloodType string `gorm:"default:null"` Religion string `gorm:"default:null"` MarriedStatus string `gorm:"default:null"` Type string `gorm:"default:null"` Nationality string `gorm:"default:null"` IssueDate time.Time `gorm:"default:null"` ExpiryDate time.Time `gorm:"default:null"` RegistrationNo string `gorm:"default:null"` IssuedOffice string `gorm:"default:null"` Nikim string `gorm:"default:null"` }
func (NationalIdentity) TableName ¶
func (NationalIdentity) TableName() string
type Profile ¶
type Profile struct { ID string `gorm:"primary_key"` CreatedBy string `gorm:"default:null"` CreatedAt time.Time UpdatedBy string `gorm:"default:null"` UpdatedAt time.Time DeletedBy string `gorm:"default:null"` DeletedAt *time.Time `sql:"index"` FirstName string MiddleName string LastName string NickName string Gender string SecondaryMobile string }
type RefreshTokenClaims ¶
type Subscription ¶
type Subscription struct { alira.Model Class string `gorm:"default:'USERTYPE'"` Code string Name string Description string Applicator string `gorm:"default:null"` Subscriber string `sql:"index"` Signature string NotBefore time.Time NotAfter time.Time AgreedAt time.Time }
func (*Subscription) BeforeCreate ¶
func (model *Subscription) BeforeCreate(scope *gorm.Scope) error
func (Subscription) TableName ¶
func (Subscription) TableName() string
type Token ¶
type User ¶
type User struct { alira.Model Username string Email string Mobile string Avatar string Active bool `grom:"default:false"` FirstTimeLogin bool `grom:"default:false"` UsePin bool `grom:"default:false"` Pin string Profile Profile `gorm:"foreignkey:ID"` }
User hold information about an user
Source Files ¶
Click to show internal directories.
Click to hide internal directories.