18 lines
419 B
Go
18 lines
419 B
Go
package auth
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
// AccountCreatedEvent represents the event when an account is created
|
|
type AccountCreatedEvent struct {
|
|
UserID uuid.UUID `json:"user_id"`
|
|
Email string `json:"email"`
|
|
FirstName string `json:"first_name"`
|
|
LastName string `json:"last_name"`
|
|
PhoneNumber string `json:"phone_number"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|