Skip to main content

Rating and Weightage Storage

Summary

Owned storage for Rating, Weightage, CyclePeriod, and ReviewerRef value objects.

Audience

Backend engineers, database reviewers, architects, QA, support, operations, security reviewers, and product owners.

Overview

Value objects are mapped with EF owned types and share their owner's storage rather than receiving independent logical object sets.

Confirmed persistence behavior

Logical itemClassification or ownerTenant/filterIdentity or mappingRelationship or purposeIndex or behavior
CyclePeriodReviewCycleRequired owned mappingStart/end period components
RatingAppraisalRequired owned mappingOverall evaluation component
WeightageAppraisalGoalRequired owned mappingGoal weight component
RatingAppraisalGoalTwo required owned mappingsSelf and manager evaluation components
ReviewerRefAppraisalReviewRequired owned mappingOptional reviewer components
RatingAppraisalReviewRequired owned mappingStage evaluation component
  • Seven owned mappings represent four distinct value-object types.
  • Owned mappings create seven snapshot key and foreign-key declarations for table sharing; these are not independent logical object primary keys or aggregate relationships.
  • Value-object factories normalize bounded values and provide structural equality.
  • Owned values have no independent indexes; indexes belong to owner properties and query patterns.
  • No actual evaluation values are included here.

Classification

Implemented table-sharing value-object persistence.

Requires confirmation

Normalization policy, rounding governance, future migration compatibility, and independent indexing needs require confirmation.

Diagram

See Also

Keywords

  • Performance persistence
  • Rating and Weightage Storage
  • Draft database documentation

Source References

  • microservices/src/performance-service/Infrastructure/PerformanceDbContext.cs
  • microservices/src/performance-service/Domain/Common/ValueObjects.cs
  • microservices/src/performance-service/Infrastructure/Migrations/PerformanceDbContextModelSnapshot.cs

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-16
  • Review cycle: Quarterly