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