todo-app-backend/TodoApp/API/Models/TodoItem.cs
JakubWalkowiak bfb86df000 initial app
2022-02-08 22:12:18 +01:00

22 lines
423 B
C#

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; }
}
}