package models import ( "encoding/json" "github.com/google/uuid" ) type Party struct { ID uuid.UUID `db:"id" json:"id"` TenantID uuid.UUID `db:"tenant_id" json:"tenant_id"` CaseID uuid.UUID `db:"case_id" json:"case_id"` Name string `db:"name" json:"name"` Role *string `db:"role" json:"role,omitempty"` Representative *string `db:"representative" json:"representative,omitempty"` ContactInfo json.RawMessage `db:"contact_info" json:"contact_info"` }