using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace TodoExample.Models
{
    public class TodoItem
    {
        public long Id { get; set; }

        /// <summary>
        /// The name of the TodoItem
        /// </summary>
        /// <example>Men's basketball shoes</example>
        [Required]
        public string Name { get; set; }

        [DefaultValue(false)]
        public bool IsComplete { get; set; }
    }
}