using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JAMM.Kasse.Models
{
    public class Table
    {
        /// <summary>
        /// Model für Tische
        /// </summary>
        private int id;
        private int number;
        private string name;
        private string description;

        //Konstruktor
        public Table(int id, int number, string name, string description)
        {
            this.id = id;
            this.number = number;
            this.name = name;
            this.description = description;
        }

        //ab hier Properties

        public int Id
        {
            get { return id; }
        }

        public int Number
        {
            get { return number; }
        }

        public string Name
        {
            get { return name; }
        }

        public string Description
        {
            get { return description; }
        }

        public string ButtonLabel
        {
            get { return Name + " (" + Number + ")\n" + Description; }
        }
    }
}
