using System.ComponentModel.DataAnnotations;

namespace DiplomovaPrace.Model.Orders
{
	public class OrderState
	{
		public int ID { get; set; }

		[Required]
		[MaxLength(50)]
		public string Name { get; set; }

		public enum Entry
		{
			Cancelled = -10,
			Closed = -8,
			ReadyForPickUp = -7,
			Delivered = -6,
			Sent = -5,
			Paid = -4,
			WaitingForPayment = -3,
			Accepted = -2,
			ShoppingCart = -1
		}
	}
}
