You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
618 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ToDoApp.Model
{
public class Item
{
public int Id { get; set; }
[Required]
public int UserId { get; set; }
[Required]
public string Title { get; set; }
public string Description { get; set; }
public DateTime DueDate { get; set; }
public bool IsCompleted { get; set; }
public DateTime CreateDate { get; set; }
public User User { get; set; }
}
}