Merge branch 'kub-stage' into production
Build and Deploy to Production / build-and-deploy (push) Successful in 9m24s
Build and Deploy to Production / build-and-deploy (push) Successful in 9m24s
This commit is contained in:
@@ -23,6 +23,8 @@ public class DiscountProductProfile : IRegister
|
||||
src => src.MinPrice != null ? (int?)src.MinPrice.Value : null)
|
||||
.Map(dest => dest.MaxPrice,
|
||||
src => src.MaxPrice != null ? (int?)src.MaxPrice.Value : null)
|
||||
.Map(dest => dest.SortBy,
|
||||
src => string.IsNullOrEmpty(src.SortBy) ? null : src.SortBy)
|
||||
.Map(dest => dest.PaginationQuery, src => new PaginationState
|
||||
{
|
||||
PageNumber = src.PageNumber > 0 ? src.PageNumber : 1,
|
||||
@@ -64,6 +66,7 @@ public class DiscountProductProfile : IRegister
|
||||
ThumbnailPath = p.ThumbnailPath ?? string.Empty,
|
||||
RemainingCount = p.RemainingCount,
|
||||
ViewCount = p.ViewCount,
|
||||
SaleCount = p.SaleCount,
|
||||
IsActive = p.IsActive,
|
||||
Created = Timestamp.FromDateTime(DateTime.UtcNow)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user