using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using MrCMS.Entities;
using MrCMS.Web.Apps.Ecommerce.Services.Shipping;

namespace MrCMS.Web.Apps.Ecommerce.Entities.Shipping
{
    public class UKFirstClassShippingCalculation : SiteEntity, IUKStandardShippingCalculation
    {
        [DisplayName("Shipping Criteria")]
        [Required]
        public virtual ShippingCriteria ShippingCriteria { get; set; }

        [DisplayName("Lower Bound")]
        [Required]
        public virtual decimal LowerBound { get; set; }

        [DisplayName("Upper Bound")]
        public virtual decimal? UpperBound { get; set; }

        [DisplayName("Amount")]
        [Required]
        public virtual decimal BaseAmount { get; set; }

        [DisplayName("Restricted To")]
        public virtual string RestrictedTo { get; set; }

        [DisplayName("Excluded From")]
        public virtual string ExcludedFrom { get; set; }
    }
}