feat: add Id property to WeekDefinitionItemDto and map it in CommissionProfile - Enhanced week definition handling by including the Id in the DTO and mapping configuration
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 1m51s

This commit is contained in:
masoodafar-web
2025-12-28 22:21:43 +03:30
parent ed45a1759b
commit 500e169141
3 changed files with 5 additions and 0 deletions
@@ -92,6 +92,7 @@ public class CommissionProfile : IRegister
// WeekDefinitionItem Mapping
config.NewConfig<WeekDefinitionItemDto, WeekDefinitionItem>()
.Map(dest => dest.Id, src => src.Id)
.Map(dest => dest.WeekOrder, src => src.WeekOrder)
.Map(dest => dest.DisplayName, src => src.DisplayName)
.Map(dest => dest.GregorianWeekNumber, src => src.GregorianWeekNumber)