28 lines
966 B
C#
28 lines
966 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace demo_trade.UI.Presenters
|
|
{
|
|
public class OrderProductPresenter: ProductPresenter
|
|
{
|
|
public int ProductCount { get; set; }
|
|
|
|
public OrderProductPresenter(ProductPresenter productPresenter, int count) {
|
|
this.ArticleNumber = productPresenter.ArticleNumber;
|
|
this.ProductCount = count;
|
|
this.ProductMaxDiscount = productPresenter.ProductMaxDiscount;
|
|
this.QuantityInStock = productPresenter.QuantityInStock;
|
|
this.Manufacturer = productPresenter.Manufacturer;
|
|
this.Description = productPresenter.Description;
|
|
this.Name = productPresenter.Name;
|
|
this.Cost = productPresenter.Cost;
|
|
this.DiscountAmount = productPresenter.DiscountAmount;
|
|
this.Image = productPresenter.Image;
|
|
|
|
}
|
|
}
|
|
}
|