Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientProfile ¶
type ClientProfile struct { ID uuid.UUID `json:"profile_id" gorm:"primary_key;type:uuid;"` DisplayName string `json:"display_name"` RoleName string `json:"role_name"` AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` ExpiresIn int64 `json:"expires_in"` ExpiresAt time.Time `json:"expires_at"` TokenType string `json:"token_type"` Domain string `json:"domain"` LoginedBy string `json:"logined_by"` }
type StatusLog ¶
type StatusLog struct { Model OwnerID uuid.UUID `validate:"required" gorm:"type:uuid;not null"` OwnerType string `json:"-"` CompositeID uuid.UUID Status string `validate:"required" type:"not null;"` // Reference is plain text Reference string RoleName string Email string Name string // Remark is cipher text written by admin Remark string OperatorID uuid.UUID `gorm:"type:uuid"` }
func (*StatusLog) ConvertToLatest ¶
func (s *StatusLog) ConvertToLatest() views.LatestStatusLog
Click to show internal directories.
Click to hide internal directories.