Auto-set CreatedAt/UpdatedAt via EF interceptor; standardize timestamp names across entities

This commit is contained in:
2026-06-01 22:04:52 +02:00
parent 0e30167526
commit e70ccb8e58
14 changed files with 716 additions and 20 deletions
@@ -27,7 +27,7 @@ namespace Musify.Application.PlayLists.Handlers
var totalCount = await playListsQuery.CountAsync(cancellationToken);
var pagedPlayLists = await playListsQuery
.OrderBy(p => p.CreatedDate)
.OrderBy(p => p.CreatedAt)
.Select(p => PlayListApplicationResponse.FromEntity(p))
.ToPagedListAsync(request.PageNumber, request.PageSize, totalCount, cancellationToken);
@@ -21,8 +21,8 @@ namespace Musify.Application.PlayLists.Responses
playList.SmallPictureName,
playList.MediumPictureName,
playList.LargePictureName,
playList.CreatedDate,
playList.UpdatedDate);
playList.CreatedAt,
playList.UpdatedAt);
}
}
}