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.

33 lines
665 B

2 years ago
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; }
2 years ago
public string? Description { get; set; }
2 years ago
2 years ago
public DateTime? DueDate { get; set; }
2 years ago
2 years ago
public bool? IsToday { get; set; }
public bool? IsCompleted { get; set; }
2 years ago
public DateTime CreateDate { get; set; }
public User User { get; set; }
}
}