2024-04-26 21:24:17 +02:00
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace FirmTracker_Server.nHibernate.Products
|
2024-04-15 22:15:29 +02:00
|
|
|
|
{
|
|
|
|
|
public class Product
|
|
|
|
|
{
|
|
|
|
|
public virtual int Id { get; set; }
|
|
|
|
|
public virtual string Name { get; set; }
|
|
|
|
|
public virtual string Description { get; set; }
|
|
|
|
|
public virtual decimal Price { get; set; }
|
|
|
|
|
public virtual int Type { get; set; } // 0 for service, 1 for goods
|
2024-04-26 21:24:17 +02:00
|
|
|
|
public virtual int Availability { get; set; }
|
2024-04-15 22:15:29 +02:00
|
|
|
|
}
|
|
|
|
|
}
|