28 lines
412 B
C#
28 lines
412 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Magazyn.DataModels
|
|
{
|
|
class WarehousePrice
|
|
{
|
|
float price;
|
|
|
|
public float Price
|
|
{
|
|
get
|
|
{
|
|
return price;
|
|
}
|
|
}
|
|
|
|
public WarehousePrice( [JsonProperty("price-of-all")] float price)
|
|
{
|
|
this.price = price;
|
|
}
|
|
}
|
|
}
|