using System.ComponentModel.DataAnnotations;

namespace TestGridDateTimeEditor.Models
{
    public class Cake
    {
        public int Id { get; set; }
        public string Name { get; set; }
        [DataType(DataType.DateTime)]
        public DateTime? Expiry { get; set; }
    }
}
