using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

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

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

		[Column(TypeName = "decimal(18,2)")]
		public decimal Fee { get; set; }

		public int ShippingDays { get; set; }

		public DateTime? Deleted { get; set; }

		public enum Entry
		{
			Pickup = 1,
			Delivery = 2
		}
	}
}
