15 lines
461 B
Go
15 lines
461 B
Go
package entity
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type ForgotPasswords struct {
|
|
ID uint `json:"id" gorm:"primaryKey;type:int4;autoIncrement"`
|
|
KeycloakID string `json:"keycloak_id" gorm:"type:varchar"`
|
|
CodeRequest string `json:"code_request" gorm:"type:varchar"`
|
|
IsActive bool `json:"is_active" gorm:"type:bool"`
|
|
CreatedAt time.Time `json:"created_at" gorm:"default:now()"`
|
|
UpdatedAt time.Time `json:"updated_at" gorm:"default:now()"`
|
|
}
|