using System;
using System.ComponentModel.DataAnnotations;

namespace MVC3UnobtrusiveComboBoxValidation.Models
{
    public class ValidationModel
    {
        [Required]
        public int Id { get; set; }
        [Required]
        [DataType(DataType.DateTime)]
        public DateTime LastSupply { get; set; }
        public bool Discontinued { get; set; }
        [DataType(DataType.Currency)]
        public decimal UnitPrice { get; set; }
    }
}