Files

33 lines
665 B
C#
Raw Permalink Normal View History

2023-10-26 18:11:58 +09:00
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; }
2023-10-27 18:07:18 +09:00
public string? Description { get; set; }
2023-10-26 18:11:58 +09:00
2023-10-27 18:07:18 +09:00
public DateTime? DueDate { get; set; }
2023-10-26 18:11:58 +09:00
2023-10-27 18:07:18 +09:00
public bool? IsToday { get; set; }
public bool? IsCompleted { get; set; }
2023-10-26 18:11:58 +09:00
public DateTime CreateDate { get; set; }
public User User { get; set; }
}
}