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 item | Classification or owner | Tenant/filter | Identity or mapping | Relationship or purpose | Index or behavior |
|---|---|---|---|---|---|
| CyclePeriod | ReviewCycle | Required owned mapping | Start/end period components | ||
| Rating | Appraisal | Required owned mapping | Overall evaluation component | ||
| Weightage | AppraisalGoal | Required owned mapping | Goal weight component | ||
| Rating | AppraisalGoal | Two required owned mappings | Self and manager evaluation components | ||
| ReviewerRef | AppraisalReview | Required owned mapping | Optional reviewer components | ||
| Rating | AppraisalReview | Required owned mapping | Stage 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
Related Articles
See Also
Keywords
- Performance persistence
- Rating and Weightage Storage
- Draft database documentation
Source References
microservices/src/performance-service/Infrastructure/PerformanceDbContext.csmicroservices/src/performance-service/Domain/Common/ValueObjects.csmicroservices/src/performance-service/Infrastructure/Migrations/PerformanceDbContextModelSnapshot.cs
Revision Information
- Status: Draft
- Last reviewed: 2026-07-16
- Review cycle: Quarterly