Перейти к основному содержимому

Реестр сущностей PIN

Все сущности/агрегаты по контекстам. Дом каждой сущности — docs/06-services/<context>/domain/<entity>.md (по entity-template). Дочерние Entity указаны в скобках рядом с root-агрегатом.

Формат: | Сущность | Kind (AggregateRoot/Entity/VO-owned/Replica/Snapshot/Fact) | Таблица | Документ |

identity

СущностьKindТаблицаДокумент
CompanyEntityAggregateRoot (+Replica для Talent-компаний)identity.companiescompany.md
UserEntityAggregateRoot (+Replica для менеджеров застройщика)identity.usersuser.md
RoleDefinition (+RolePermission), RoleAssignment, ResourceScopeAggregateRoot + child-Entity + VO-ownedidentity.roles, identity.role_assignmentsrole.md
PermissionDefinitionEntity (anemic reference, SEED)identity.permission_definitionspermission.md
CompanyInvitationEntityAggregateRootidentity.company_invitationscompany-invitation.md
AgentMembershipEntityAggregateRootidentity.agent_membershipsagent-membership.md
SignInConfirmationRequest + RefreshSessionAggregateRoot (оба)identity.sign_in_confirmation_requests, identity.refresh_sessionsuser-session.md
TalentSyncStateEntity (служебная, anemic)identity.talent_sync_statestalent-replica.md

profile

СущностьKindТаблицаДокумент
ProfileEntityAggregateRoot (гибрид: реплика identity + свои поля)profile.profilesprofile.md
PersonEntityAggregateRootprofile.personsperson.md
PersonDocumentEntityEntity (child PersonEntity)profile.person_documentsperson-document.md
VerificationRequestEntityAggregateRootprofile.verification_requestsverification-request.md
RequisiteTemplateEntityAggregateRootprofile.requisite_templatesrequisite-template.md

handbook

СущностьKindТаблицаДокумент
CountryEntityReplica (source of truth — Talent Handbook)handbook.countriescountry.md
RegionEntityReplica (derive из city-событий источника)handbook.regionsregion.md
CityEntityReplicahandbook.citiescity.md
CurrencyEntityReplicahandbook.currenciescurrency.md
LanguageEntityReplicahandbook.languageslanguage.md
HandbookSyncStateEntity (служебная, anemic — чекпоинты синка)handbook.talent_sync_statestalent-replica.md
CountrySnapshot / RegionSnapshot / CitySnapshot / CurrencySnapshotSnapshot (иммутабельные вложенные модели контрактов)нет (модели payload/ответов)snapshots.md

chessboard

СущностьKindТаблицаДокумент
DeveloperEntityAggregateRoot + Replica (Talent-поля)chessboard.developersdeveloper.md
ProjectEntityAggregateRoot + Replicachessboard.projectsproject.md
BuildingEntityAggregateRoot + Replicachessboard.buildingsbuilding.md
LayoutGroupEntityAggregateRoot + Replicachessboard.layout_groupslayout-group.md
LayoutEntityAggregateRoot + Replicachessboard.layoutslayout.md
PropertyObjectEntityAggregateRoot + Replica (статус/цена — PIN)chessboard.property_objectsproperty-object.md
BankEntityEntity (anemic-справочник)chessboard.banksbank.md
HotelierEntityEntity (anemic-справочник)chessboard.hoteliershotelier.md
Enum-справочники контекстаReference data (C# enums)нет (enum-колонки)reference-data.md

catalog

СущностьKindТаблицаДокумент
CatalogProjectCardReplica (денорм. read-проекция)catalog.project_cardscatalog-project-card.md
CatalogPropertyObjectCardReplica (денорм. read-проекция)catalog.property_object_cardscatalog-property-object-card.md
DeveloperRankingRuleAggregateRootcatalog.ranking_rulesranking-rule.md
PropertyObjectDisplayOverride + BuildingDisplayOverrideAggregateRoot (оба)catalog.property_object_overrides, catalog.building_overridesdisplay-override.md

invest-analytics

СущностьKindТаблицаДокумент
PropertyObjectPriceHistoryFactFact (ClickHouse, append-only)ClickHouse price_historyprice-history-fact.md
EconomicModelConfigAggregateRoot (singleton, anemic)invest_analytics.model_configeconomic-model-config.md
PropertyObjectTypeConfig (+PropertyObjectTypeMonthOverride)AggregateRoot (+child Entity)invest_analytics.property_object_type_configproperty-object-type-config.md
PropertyObjectTypeMonthOverrideEntity (child)invest_analytics.property_object_type_month_overridesproperty-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ТаблицаДокумент
RewardRuleEntityAggregateRootrewards.reward_rulesreward-rule.md
PlatformCommissionTermsEntityAggregateRootrewards.platform_commission_termsplatform-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
ReferralRateRuleEntityAggregateRootrewards.referral_rate_rulesreferral-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_orderspayout-order.md
AgencyCommissionPolicyEntityAggregateRootrewards.agency_commission_policiesagency-commission-policy.md
AgentBoostCampaignEntityAggregateRoot (под-агрегат agent-boost, scoped ставки)rewards.agent_boost_campaignsagency-commission-policy.md
AgentPerformanceEntityRead-projection (перестраиваемая)rewards.agent_performanceagent-performance.md

wallet

СущностьKindТаблицаДокумент
WalletAccountEntityAggregateRootwallet.wallet_accountswallet-account.md
LedgerTransactionEntity (+LedgerEntryEntity)AggregateRoot (+child Entity, двойная запись, append-only)wallet.ledger_transactions (+wallet.ledger_entries)ledger-transaction.md
UserDisplayReplicaEntityReplica (из identity, read-only)wallet.user_display_replicasuser-display-replica.md

promotion

СущностьKindТаблицаДокумент
PromotionPackageAggregateRootpromotion.promotion_packagespromotion-package.md
PromotionPurchase (+PromotionPurchaseTarget)AggregateRoot (+child Entity)promotion.promotion_purchasespromotion-purchase.md

crm

СущностьKindТаблицаДокумент
ClientEntityAggregateRootcrm.clientsclient.md
LeadEntity (+LeadParticipantEntity, LeadBookingIntentEntity, LeadEventEntity TPH)AggregateRoot (+child Entity)crm.leads (+crm.lead_participants, crm.lead_booking_intents, crm.lead_events)lead.md
LeadBookingIntentEntityEntity (child LeadEntity — намерение бронирования на объект; 1:1 со сделкой)crm.lead_booking_intentslead.md
FixationRequestEntityAggregateRootcrm.fixation_requestsfixation-request.md
DealEntity (+DealMemberEntity)AggregateRoot (состав участников — единый ParticipantRole, ADR-0071)crm.deals (+crm.deal_members)deal.md
PipelineStepEntity + SEED enum PipelineStepGroupAggregateRoot / SEED enumcrm.pipeline_steps (+crm.pipeline_step_groups)pipeline-step.md
BookingEntityAggregateRootcrm.bookingsbooking.md
BookingProgramEntityAggregateRoot (настраиваемый справочник)crm.booking_programsbooking-program.md
PurchaseProgramEntity (+InstallmentPresetEntity)AggregateRoot (+child Entity)crm.purchase_programs (+crm.installment_presets)purchase-program.md
DealDocumentEntityEntity (в составе агрегата сделки)crm.deal_documentsdeal-document.md
DealTimelineEventEntityEntity (TPH, append-only)crm.deal_timeline_eventsdeal-timeline-event.md

calendar

СущностьKindТаблицаДокумент
CalendarEventEntity (+EventReminderEntity owned)AggregateRoot (+child Entity)calendar.calendar_events (+calendar.event_reminders)calendar-event.md
EventReminderEntityEntity (owned-child CalendarEventEntity)calendar.event_remindersevent-reminder.md
AvailabilitySlotEntityAggregateRootcalendar.availability_slotsavailability-slot.md
AppointmentEntityAggregateRootcalendar.appointmentsappointment.md
CrmDealReplicaReplica (из crm: маршрутизация дедлайнов, множество агентов + ExecutorAgentUserId)calendar.crm_deal_replicascrm-deal-events.md
UserDisplayReplicaEntityReplica (из identity, display-данные)calendar.user_display_replicasidentity-user-upserted.md
BookingDeadlineLinkEntityReplica (проекция-связка брони CRM ↔ событие-дедлайн)calendar.booking_deadline_linkscrm-booking-events.md

referral

СущностьKindТаблицаДокумент
ReferralLinkEntityAggregateRootreferral.referral_linksreferral-link.md
ReferralBondEntityAggregateRootreferral.referral_bondsreferral-bond.md
ReferralRegistrationEntityEntity (append-only журнал)referral.referral_registrationsreferral-registration.md
Правила привязки (R1–R6) + реплика referral.usersДоменные правила / Replicareferral.usersattach-rules.md

investor-owner

СущностьKindТаблицаДокумент
OwnerMappingEntityAggregateRoot (связка-реплика)investor_owner.owner_mappingsowner-mapping.md
InvestorPropertyEntityAggregateRootinvestor_owner.investor_propertiesinvestor-property.md

favorites

СущностьKindТаблицаДокумент
FavoriteAggregateRoot (маленький агрегат)favorites.favoritesfavorite.md
FavoritesMergeOperationEntity (append-only журнал)favorites.favorites_merge_operationsmerge-strategy.md

selections

СущностьKindТаблицаДокумент
Selection (+SelectionItem)AggregateRoot (+child Entity)selections.selections (+selections.selection_items)selection.md
SelectionSnapshotSnapshot (AggregateRoot, иммутабельный)selections.selection_snapshotsselection-snapshot.md

user-activity

СущностьKindТаблицаДокумент
SessionAggregateRootuser_activity.sessionssession.md
PropertyObjectViewAggregateRoot (маленький агрегат)user_activity.property_object_viewsproperty-object-view.md
PropertyObjectViewStatsEntity (anemic-проекция/счётчик)user_activity.property_object_view_statsproperty-object-view-stats.md
ActionEvent (TPH-иерархия)AggregateRoot (TPH, append-only)user_activity.action_eventsaction-event.md

news

СущностьKindТаблицаДокумент
PostAggregateRootnews.postspost.md
PostVersionSnapshot (append-only)news.post_versionspost-version.md
PostContentDocument (typed-блоки)JSONB document (VO)news.posts.content (jsonb)post-block.md
PostCategoryEntity (reference/seeded)news.post_categoriespost-category.md
CommentAggregateRootnews.commentscomment.md
AuthorSubscriptionEntitynews.author_subscriptionsauthor-subscription.md
PostReaction + PostRankingSignalsAggregateRoot + Replica (проекция)news.post_reactions, news.post_ranking_signalspost-ranking-model.md
AuthorReplica + CompanyReplicaReplicanews.author_replicas, news.company_replicasidentity-replicas.md

messenger

СущностьKindТаблицаДокумент
ChatEntity (+ParticipantEntity owned-child)AggregateRoot (+child Entity)messenger.chats (+messenger.participants)chat.md
ParticipantEntityEntity (owned-child ChatEntity)messenger.participantsparticipant.md
MessageEntity (TPH: Text/Attachment/EventCard)AggregateRoot (TPH)messenger.messagesmessage.md
ChatEventEntity (TPH)Entity (append-only, в составе ChatEntity)messenger.chat_eventschat-event.md
ContactEntityAggregateRootmessenger.contactscontact.md
BlacklistEntityAggregateRoot (агрегат-факт)messenger.blacklist_entriesblacklist.md
CallSessionEntityAggregateRootmessenger.call_sessionscall-session.md
ConferenceSessionEntityAggregateRootmessenger.conference_sessionsconference-session.md
CallParticipantEntityEntity (owned-child ConferenceSessionEntity)messenger.call_participantscall-participant.md
CallRecordingEntityAggregateRootmessenger.call_recordingscall-recording.md
MessengerUserEntityReplica (из identity)messenger.usersmessenger-user.md

notifications

СущностьKindТаблицаДокумент
NotificationEntityAggregateRootnotifications.notificationsnotification.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) + ChannelConfigEntityEntity (справочник, SEED)notifications.channel_configschannel.md

support

СущностьKindТаблицаДокумент
TicketEntity (+TicketMessageEntity)AggregateRoot (+child Entity)support.tickets (+support.ticket_messages)ticket.md
TicketMessageEntityEntity (child TicketEntity)support.ticket_messagesticket-message.md
TicketQueueEntityAggregateRoot (справочник-конфиг)support.ticket_queuesticket-queue.md
TicketTemplateEntityAggregateRootsupport.ticket_templatesticket-template.md
KnowledgeBaseArticleEntityAggregateRootsupport.kb_articlesknowledge-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ТаблицаДокумент
PropertyObjectViewFactFact (ClickHouse, append-only)pin_dev_stats.property_object_view_factsproperty-object-view-facts.md
PropertyObjectViewDailyRollupRollup (ClickHouse)pin_dev_stats.property_object_view_dailyproperty-object-view-daily-rollup.md
SessionFactFact (ClickHouse)pin_dev_stats.session_factssession-facts.md
FunnelDailyRollup (funnel_daily)Rollup (ClickHouse)pin_dev_stats.funnel_dailyfunnel-daily-rollup.md
dim_developerReplica (dimension)pin_dev_stats.dim_developerdeveloper.md
dim_projectReplica (dimension)pin_dev_stats.dim_projectproject.md
dim_buildingReplica (dimension)pin_dev_stats.dim_buildingbuilding.md
dim_layout_groupReplica (dimension)pin_dev_stats.dim_layout_grouplayout-group.md
dim_layoutReplica (dimension)pin_dev_stats.dim_layoutlayout.md
dim_property_objectReplica (dimension)pin_dev_stats.dim_property_objectproperty-object.md
DevStatsFilterModelМодель входа (record-DTO)нетdev-stats-filter.md
ViewerKind / ViewSourceКлассификация (enum/VO)нетviewer-classification.md
Модели ответа (ряды/точки/сводки)record-DTO (Application)нетresponse-models.md

Обратные ссылки

Автоссылки: где используется этот документ.

Связанные документы