DINO_SCRUM/Magazyn_Client/Magazyn/DataModels/Fruit.cs
2019-01-13 16:36:26 +01:00

67 lines
861 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Magazyn.DataModels
{
public class Fruit
{
int id;
string name;
int quantity;
float price;
string imageLink;
public int Id
{
get
{
return id;
}
}
public string Name
{
get
{
return name;
}
}
public int Quantity
{
get
{
return quantity;
}
}
public float Price
{
get
{
return price;
}
}
public string ImageLink
{
get
{
return imageLink;
}
}
public Fruit(int id, string name, int quantity, float price, string imageLink)
{
this.id = id;
this.name = name;
this.quantity = quantity;
this.price = price;
this.imageLink = imageLink;
}
}
}