22 lines
433 B
Go
22 lines
433 B
Go
package profile
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Profile struct {
|
|
ID uuid.UUID
|
|
UserID *uuid.UUID // Optional: links profile to a user account
|
|
Handle string
|
|
PageSectionOrder map[string]int
|
|
Hero Hero
|
|
About About
|
|
Skills []Skill
|
|
Contact Contact
|
|
PageSetting PageSetting
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|