Реестр сущностей PIN
Все сущности/агрегаты по контекстам. Дом каждой сущности — docs/06-services/<context>/domain/<entity>.md
(по entity-template). Дочерние Entity указаны в скобках рядом с root-агрегатом.
Формат: | Сущность | Kind (AggregateRoot/Entity/VO-owned/Replica/Snapshot/Fact) | Таблица | Документ |
identity
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
CompanyEntity | AggregateRoot (+Replica для Talent-компаний) | identity.companies | company.md |
UserEntity | AggregateRoot (+Replica для менеджеров застройщика) | identity.users | user.md |
RoleDefinition (+RolePermission), RoleAssignment, ResourceScope | AggregateRoot + child-Entity + VO-owned | identity.roles, identity.role_assignments | role.md |
PermissionDefinition | Entity (anemic reference, SEED) | identity.permission_definitions | permission.md |
CompanyInvitationEntity | AggregateRoot | identity.company_invitations | company-invitation.md |
AgentMembershipEntity | AggregateRoot | identity.agent_memberships | agent-membership.md |
SignInConfirmationRequest + RefreshSession | AggregateRoot (оба) | identity.sign_in_confirmation_requests, identity.refresh_sessions | user-session.md |
TalentSyncState | Entity (служебная, anemic) | identity.talent_sync_states | talent-replica.md |
profile
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
ProfileEntity | AggregateRoot (гибрид: реплика identity + свои поля) | profile.profiles | profile.md |
PersonEntity | AggregateRoot | profile.persons | person.md |
PersonDocumentEntity | Entity (child PersonEntity) | profile.person_documents | person-document.md |
VerificationRequestEntity | AggregateRoot | profile.verification_requests | verification-request.md |
RequisiteTemplateEntity | AggregateRoot | profile.requisite_templates | requisite-template.md |
handbook
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
CountryEntity | Replica (source of truth — Talent Handbook) | handbook.countries | country.md |
RegionEntity | Replica (derive из city-событий источника) | handbook.regions | region.md |
CityEntity | Replica | handbook.cities | city.md |
CurrencyEntity | Replica | handbook.currencies | currency.md |
LanguageEntity | Replica | handbook.languages | language.md |
HandbookSyncState | Entity (служебная, anemic — чекпоинты синка) | handbook.talent_sync_states | talent-replica.md |
CountrySnapshot / RegionSnapshot / CitySnapshot / CurrencySnapshot | Snapshot (иммутабельные вложенные модели контрактов) | нет (модели payload/ответов) | snapshots.md |
chessboard
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
DeveloperEntity | AggregateRoot + Replica (Talent-поля) | chessboard.developers | developer.md |
ProjectEntity | AggregateRoot + Replica | chessboard.projects | project.md |
BuildingEntity | AggregateRoot + Replica | chessboard.buildings | building.md |
LayoutGroupEntity | AggregateRoot + Replica | chessboard.layout_groups | layout-group.md |
LayoutEntity | AggregateRoot + Replica | chessboard.layouts | layout.md |
PropertyObjectEntity | AggregateRoot + Replica (статус/цена — PIN) | chessboard.property_objects | property-object.md |
BankEntity | Entity (anemic-справочник) | chessboard.banks | bank.md |
HotelierEntity | Entity (anemic-справочник) | chessboard.hoteliers | hotelier.md |
| Enum-справочники контекста | Reference data (C# enums) | нет (enum-колонки) | reference-data.md |
catalog
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
CatalogProjectCard | Replica (денорм. read-проекция) | catalog.project_cards | catalog-project-card.md |
CatalogPropertyObjectCard | Replica (денорм. read-проекция) | catalog.property_object_cards | catalog-property-object-card.md |
DeveloperRankingRule | AggregateRoot | catalog.ranking_rules | ranking-rule.md |
PropertyObjectDisplayOverride + BuildingDisplayOverride | AggregateRoot (оба) | catalog.property_object_overrides, catalog.building_overrides | display-override.md |
invest-analytics
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
PropertyObjectPriceHistoryFact | Fact (ClickHouse, append-only) | ClickHouse price_history | price-history-fact.md |
EconomicModelConfig | AggregateRoot (singleton, anemic) | invest_analytics.model_config | economic-model-config.md |
PropertyObjectTypeConfig (+PropertyObjectTypeMonthOverride) | AggregateRoot (+child Entity) | invest_analytics.property_object_type_config | property-object-type-config.md |
PropertyObjectTypeMonthOverride | Entity (child) | invest_analytics.property_object_type_month_overrides | property-object-type-month-override.md |
InvestorMonth / AnalyticsSeries / AsideMetrics | Расчётные модели (record-DTO) | нет (Application-слой) | investor-series-models.md |
EntityKind / TaxRegime | Параметры расчёта (enum/VO) | нет | tax-entity-params.md |
rewards
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
RewardRuleEntity | AggregateRoot | rewards.reward_rules | reward-rule.md |
PlatformCommissionTermsEntity | AggregateRoot | rewards.platform_commission_terms | platform-commission-terms.md |
CommissionAccrualEntity (+CommissionDistributionEntity, CommissionAccrualAdjustmentEntity, CommissionAdjustmentRequestEntity) | AggregateRoot (+child Entity) | rewards.commission_accruals (+commission_distributions, commission_accrual_adjustments, commission_adjustment_requests) | commission-accrual.md |
PlatformReceiptEntity (+PlatformReceiptItemEntity) | AggregateRoot (+child Entity) | rewards.platform_receipts (+rewards.platform_receipt_items) | platform-receipt.md |
ReferralRateRuleEntity | AggregateRoot | rewards.referral_rate_rules | referral-rate-rule.md |
ReferralAccrualEntity (+ReferralAccrualAdjustmentEntity) | AggregateRoot (+child Entity) | rewards.referral_accruals (+rewards.referral_accrual_adjustments) | referral-accrual.md |
PayoutOrderEntity (+PayoutOrderItemEntity) | AggregateRoot (+child Entity) | rewards.payout_orders | payout-order.md |
AgencyCommissionPolicyEntity | AggregateRoot | rewards.agency_commission_policies | agency-commission-policy.md |
AgentBoostCampaignEntity | AggregateRoot (под-агрегат agent-boost, scoped ставки) | rewards.agent_boost_campaigns | agency-commission-policy.md |
AgentPerformanceEntity | Read-projection (перестраиваемая) | rewards.agent_performance | agent-performance.md |
wallet
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
WalletAccountEntity | AggregateRoot | wallet.wallet_accounts | wallet-account.md |
LedgerTransactionEntity (+LedgerEntryEntity) | AggregateRoot (+child Entity, двойная запись, append-only) | wallet.ledger_transactions (+wallet.ledger_entries) | ledger-transaction.md |
UserDisplayReplicaEntity | Replica (из identity, read-only) | wallet.user_display_replicas | user-display-replica.md |
promotion
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
PromotionPackage | AggregateRoot | promotion.promotion_packages | promotion-package.md |
PromotionPurchase (+PromotionPurchaseTarget) | AggregateRoot (+child Entity) | promotion.promotion_purchases | promotion-purchase.md |
crm
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
ClientEntity | AggregateRoot | crm.clients | client.md |
LeadEntity (+LeadParticipantEntity, LeadBookingIntentEntity, LeadEventEntity TPH) | AggregateRoot (+child Entity) | crm.leads (+crm.lead_participants, crm.lead_booking_intents, crm.lead_events) | lead.md |
LeadBookingIntentEntity | Entity (child LeadEntity — намерение бронирования на объект; 1:1 со сделкой) | crm.lead_booking_intents | lead.md |
FixationRequestEntity | AggregateRoot | crm.fixation_requests | fixation-request.md |
DealEntity (+DealMemberEntity) | AggregateRoot (состав участников — единый ParticipantRole, ADR-0071) | crm.deals (+crm.deal_members) | deal.md |
PipelineStepEntity + SEED enum PipelineStepGroup | AggregateRoot / SEED enum | crm.pipeline_steps (+crm.pipeline_step_groups) | pipeline-step.md |
BookingEntity | AggregateRoot | crm.bookings | booking.md |
BookingProgramEntity | AggregateRoot (настраиваемый справочник) | crm.booking_programs | booking-program.md |
PurchaseProgramEntity (+InstallmentPresetEntity) | AggregateRoot (+child Entity) | crm.purchase_programs (+crm.installment_presets) | purchase-program.md |
DealDocumentEntity | Entity (в составе агрегата сделки) | crm.deal_documents | deal-document.md |
DealTimelineEventEntity | Entity (TPH, append-only) | crm.deal_timeline_events | deal-timeline-event.md |
calendar
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
CalendarEventEntity (+EventReminderEntity owned) | AggregateRoot (+child Entity) | calendar.calendar_events (+calendar.event_reminders) | calendar-event.md |
EventReminderEntity | Entity (owned-child CalendarEventEntity) | calendar.event_reminders | event-reminder.md |
AvailabilitySlotEntity | AggregateRoot | calendar.availability_slots | availability-slot.md |
AppointmentEntity | AggregateRoot | calendar.appointments | appointment.md |
CrmDealReplica | Replica (из crm: маршрутизация дедлайнов, множество агентов + ExecutorAgentUserId) | calendar.crm_deal_replicas | crm-deal-events.md |
UserDisplayReplicaEntity | Replica (из identity, display-данные) | calendar.user_display_replicas | identity-user-upserted.md |
BookingDeadlineLinkEntity | Replica (проекция-связка брони CRM ↔ событие-дедлайн) | calendar.booking_deadline_links | crm-booking-events.md |
referral
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
ReferralLinkEntity | AggregateRoot | referral.referral_links | referral-link.md |
ReferralBondEntity | AggregateRoot | referral.referral_bonds | referral-bond.md |
ReferralRegistrationEntity | Entity (append-only журнал) | referral.referral_registrations | referral-registration.md |
Правила привязки (R1–R6) + реплика referral.users | Доменные правила / Replica | referral.users | attach-rules.md |
investor-owner
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
OwnerMappingEntity | AggregateRoot (связка-реплика) | investor_owner.owner_mappings | owner-mapping.md |
InvestorPropertyEntity | AggregateRoot | investor_owner.investor_properties | investor-property.md |
favorites
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
Favorite | AggregateRoot (маленький агрегат) | favorites.favorites | favorite.md |
FavoritesMergeOperation | Entity (append-only журнал) | favorites.favorites_merge_operations | merge-strategy.md |
selections
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
Selection (+SelectionItem) | AggregateRoot (+child Entity) | selections.selections (+selections.selection_items) | selection.md |
SelectionSnapshot | Snapshot (AggregateRoot, иммутабельный) | selections.selection_snapshots | selection-snapshot.md |
user-activity
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
Session | AggregateRoot | user_activity.sessions | session.md |
PropertyObjectView | AggregateRoot (маленький агрегат) | user_activity.property_object_views | property-object-view.md |
PropertyObjectViewStats | Entity (anemic-проекция/счётчик) | user_activity.property_object_view_stats | property-object-view-stats.md |
ActionEvent (TPH-иерархия) | AggregateRoot (TPH, append-only) | user_activity.action_events | action-event.md |
news
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
Post | AggregateRoot | news.posts | post.md |
PostVersion | Snapshot (append-only) | news.post_versions | post-version.md |
PostContentDocument (typed-блоки) | JSONB document (VO) | news.posts.content (jsonb) | post-block.md |
PostCategory | Entity (reference/seeded) | news.post_categories | post-category.md |
Comment | AggregateRoot | news.comments | comment.md |
AuthorSubscription | Entity | news.author_subscriptions | author-subscription.md |
PostReaction + PostRankingSignals | AggregateRoot + Replica (проекция) | news.post_reactions, news.post_ranking_signals | post-ranking-model.md |
AuthorReplica + CompanyReplica | Replica | news.author_replicas, news.company_replicas | identity-replicas.md |
messenger
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
ChatEntity (+ParticipantEntity owned-child) | AggregateRoot (+child Entity) | messenger.chats (+messenger.participants) | chat.md |
ParticipantEntity | Entity (owned-child ChatEntity) | messenger.participants | participant.md |
MessageEntity (TPH: Text/Attachment/EventCard) | AggregateRoot (TPH) | messenger.messages | message.md |
ChatEventEntity (TPH) | Entity (append-only, в составе ChatEntity) | messenger.chat_events | chat-event.md |
ContactEntity | AggregateRoot | messenger.contacts | contact.md |
BlacklistEntity | AggregateRoot (агрегат-факт) | messenger.blacklist_entries | blacklist.md |
CallSessionEntity | AggregateRoot | messenger.call_sessions | call-session.md |
ConferenceSessionEntity | AggregateRoot | messenger.conference_sessions | conference-session.md |
CallParticipantEntity | Entity (owned-child ConferenceSessionEntity) | messenger.call_participants | call-participant.md |
CallRecordingEntity | AggregateRoot | messenger.call_recordings | call-recording.md |
MessengerUserEntity | Replica (из identity) | messenger.users | messenger-user.md |
notifications
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
NotificationEntity | AggregateRoot | notifications.notifications | notification.md |
NotificationTemplateEntity (+ChannelTemplateEntity) | AggregateRoot (+child Entity) | notifications.notification_templates (+channel_templates) | notification-template.md |
UserNotificationSettingsEntity (+NotificationPreferenceEntity) | AggregateRoot (+owned-child) | notifications.user_notification_settings (+notification_preferences) | user-notification-settings.md |
Channel (enum) + ChannelConfigEntity | Entity (справочник, SEED) | notifications.channel_configs | channel.md |
support
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
TicketEntity (+TicketMessageEntity) | AggregateRoot (+child Entity) | support.tickets (+support.ticket_messages) | ticket.md |
TicketMessageEntity | Entity (child TicketEntity) | support.ticket_messages | ticket-message.md |
TicketQueueEntity | AggregateRoot (справочник-конфиг) | support.ticket_queues | ticket-queue.md |
TicketTemplateEntity | AggregateRoot | support.ticket_templates | ticket-template.md |
KnowledgeBaseArticleEntity | AggregateRoot | support.kb_articles | knowledge-base-article.md |
ArbitrageCaseEntity (+ArbitrageNoteEntity) | AggregateRoot (+child Entity) | support.arbitrage_cases (+support.arbitrage_notes) | arbitrage-case.md |
dev-stats
ClickHouse-facts/rollups (append-only, Talent.Common.Analytics.ClickHouseFact) + реплики измерений
(dimensions, ADR-0057) + модели входа/ответа Application-слоя.
| Сущность | Kind | Таблица | Документ |
|---|---|---|---|
PropertyObjectViewFact | Fact (ClickHouse, append-only) | pin_dev_stats.property_object_view_facts | property-object-view-facts.md |
PropertyObjectViewDailyRollup | Rollup (ClickHouse) | pin_dev_stats.property_object_view_daily | property-object-view-daily-rollup.md |
SessionFact | Fact (ClickHouse) | pin_dev_stats.session_facts | session-facts.md |
FunnelDailyRollup (funnel_daily) | Rollup (ClickHouse) | pin_dev_stats.funnel_daily | funnel-daily-rollup.md |
dim_developer | Replica (dimension) | pin_dev_stats.dim_developer | developer.md |
dim_project | Replica (dimension) | pin_dev_stats.dim_project | project.md |
dim_building | Replica (dimension) | pin_dev_stats.dim_building | building.md |
dim_layout_group | Replica (dimension) | pin_dev_stats.dim_layout_group | layout-group.md |
dim_layout | Replica (dimension) | pin_dev_stats.dim_layout | layout.md |
dim_property_object | Replica (dimension) | pin_dev_stats.dim_property_object | property-object.md |
DevStatsFilterModel | Модель входа (record-DTO) | нет | dev-stats-filter.md |
ViewerKind / ViewSource | Классификация (enum/VO) | нет | viewer-classification.md |
| Модели ответа (ряды/точки/сводки) | record-DTO (Application) | нет | response-models.md |
Обратные ссылки
Автоссылки: где используется этот документ.
- index.md (1): Документация PIN
- registries (1): Реестры PIN (registries)