Add host-first environment contracts (Local vs CI vs Prod), deps-only compose, and the Profile → Portrait → deep-access mock payment slice with device identity and auto-migrate on API startup. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
615 B
Go
22 lines
615 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
// Profile is a personal archive (self or other).
|
|
type Profile struct {
|
|
ID uuid.UUID `json:"id"`
|
|
UserID uuid.UUID `json:"user_id"`
|
|
Relation string `json:"relation"`
|
|
DisplayName string `json:"display_name"`
|
|
BirthDate time.Time `json:"birth_date"`
|
|
BirthTime *string `json:"birth_time,omitempty"`
|
|
BirthPlace *string `json:"birth_place,omitempty"`
|
|
Gender *string `json:"gender,omitempty"`
|
|
RelationType *string `json:"relation_type,omitempty"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|