26 lines
522 B
C#
26 lines
522 B
C#
using Core.Abstractions.Models;
|
|
using Core.DomainObjects;
|
|
using Core.DomainObjects.Documents;
|
|
|
|
namespace WeatherForecast.Models.Requests {
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class PutShopCartItemRequestModel : RequestModelBase<ShopCartItem> {
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public uint Quantity { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public override ShopCartItem ToDomainObject() => new() {
|
|
Quantity = Quantity
|
|
};
|
|
}
|
|
}
|