type Model struct {
ID int `gorm:"primary_key" json:"id"`
CreatedOn int `json:"created_on"`
ModifiedOn int `json:"modified_on"`
DeletedOn int `json:"deleted_on"`
}
type User struct {
ID int `json:"id" gorm:"index"`
Username string `json:"username"`
Password string `json:"-"`
Age int `json:"age"`
Email string `json:"email"`
Gender int `json:"gender"`
CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"`
}