using Core.Abstractions.Models; using Core.DomainObjects; using Core.DomainObjects.Documents; namespace WeatherForecast.Models.Requests { public class PostShopCartItemRequestModel : RequestModelBase { public uint Quantity { get; set; } public override ShopCartItem ToDomainObject() => new ShopCartItem { Quantity = Quantity, Created = DateTime.UtcNow }; } }