Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportDto"/> class.
 /// </summary>
 /// <param name="goodsClass">
 /// The goods class.
 /// </param>
 /// <param name="amountAccruedGoods">
 /// The amount accrued goods.
 /// </param>
 /// <param name="amountSalesGoods">
 /// The amount sales goods.
 /// </param>
 /// <param name="amountReturnedGoods">
 /// The amount returned goods.
 /// </param>
 /// <param name="sumFromSales">
 /// The sum from sales.
 /// </param>
 /// <param name="salesRenuve">
 /// The sales renuve.
 /// </param>
 public ReportDto(GoodsClassDto goodsClass, int amountAccruedGoods, int amountSalesGoods, int amountReturnedGoods, decimal sumFromSales, decimal salesRenuve)
 {
     this.GoodsClass          = goodsClass;
     this.AmountAccruedGoods  = amountAccruedGoods;
     this.AmountSalesGoods    = amountSalesGoods;
     this.AmountReturnedGoods = amountReturnedGoods;
     this.SumFromSales        = sumFromSales;
     this.SalesRenuve         = salesRenuve;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WarehouseGoods"/> class.
 /// </summary>
 /// <param name="goodsId">
 /// The goods id.
 /// </param>
 /// <param name="title">
 /// The title.
 /// </param>
 /// <param name="provider">
 /// The provider.
 /// </param>
 /// <param name="goodsCategory">
 /// The goods Category.
 /// </param>
 /// <param name="goodsClass">
 /// The goods Class.
 /// </param>
 /// <param name="amount">
 /// The amount.
 /// </param>
 /// <param name="unitPrice">
 /// The unit price.
 /// </param>
 /// <param name="dateTimeDelivery">
 /// The date Time Delivery.
 /// </param>
 /// <param name="state">
 /// The state.
 /// </param>
 public WarehouseGoods(
     int goodsId,
     string title,
     ProviderDto provider,
     GoodsCategoryDto goodsCategory,
     GoodsClassDto goodsClass,
     int amount,
     decimal unitPrice,
     DateTime dateTimeDelivery,
     string state)
 {
     this.GoodsId          = goodsId;
     this.Title            = title;
     this.Provider         = provider;
     this.GoodsCategory    = goodsCategory;
     this.GoodsClass       = goodsClass;
     this.Amount           = amount;
     this.UnitPrice        = unitPrice;
     this.DateTimeDelivery = dateTimeDelivery;
     this.State            = state;
 }