2025-01-23 18:49:01 +00:00
|
|
|
package entity
|
|
|
|
|
|
2025-07-02 06:03:52 +00:00
|
|
|
import (
|
|
|
|
|
"github.com/google/uuid"
|
|
|
|
|
"time"
|
|
|
|
|
)
|
2025-01-23 18:49:01 +00:00
|
|
|
|
|
|
|
|
type ForgotPasswords struct {
|
2025-07-02 06:03:52 +00:00
|
|
|
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"`
|
|
|
|
|
ClientId *uuid.UUID `json:"client_id" gorm:"type:UUID"`
|
|
|
|
|
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()"`
|
2025-01-23 18:49:01 +00:00
|
|
|
}
|