23 lines
727 B
Go
23 lines
727 B
Go
package domain
|
|
|
|
import (
|
|
"log/slog"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
// VisibleCandidateCard pairs the organization-scoped anonymous card with the
|
|
// internal candidate identifier of the same read. The identifier is a join and
|
|
// ordering key for server-side work such as matching; it must never be
|
|
// serialized, logged, or returned to an organization.
|
|
type VisibleCandidateCard struct {
|
|
CandidateID uuid.UUID
|
|
Card AnonymousCandidateViewDTO
|
|
}
|
|
|
|
func (VisibleCandidateCard) String() string { return "[visible candidate card]" }
|
|
func (VisibleCandidateCard) GoString() string { return "[visible candidate card]" }
|
|
func (VisibleCandidateCard) LogValue() slog.Value {
|
|
return slog.StringValue("[visible candidate card]")
|
|
}
|