26 lines
669 B
C#
26 lines
669 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PizzaExpress_Client
|
|
{
|
|
internal class Pizza
|
|
{
|
|
public int Id { get; set; }
|
|
public string Nome { get; set; } = string.Empty;
|
|
public decimal Prezzo { get; set; }
|
|
public string Categoria { get; set; } = string.Empty;
|
|
public string Note { get; set; } = string.Empty;
|
|
public int Tavolo { get; set; }
|
|
public string Stato { get; set; } = string.Empty;
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{Id}) {Nome} - {Categoria} [{Stato}]";
|
|
}
|
|
|
|
}
|
|
}
|