using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace TodoApp.API.Models { public class TodoItem { public long ID { get; set; } [Required] public string Name { get; set; } [Required] public bool Done { get; set; } public string Description { get; set; } } }