Documentation ¶
Overview ¶
Package models contains application specific entities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { ID int `json:"-"` AccountID int `json:"-"` UpdatedAt time.Time `json:"updated_at,omitempty"` Theme string `json:"theme,omitempty"` }
Profile holds specific application settings linked to an Account.
func (*Profile) BeforeInsert ¶
BeforeInsert hook executed before database insert operation.
func (*Profile) BeforeUpdate ¶
BeforeUpdate hook executed before database update operation.
Click to show internal directories.
Click to hide internal directories.