Add EF Core, Npgsql, Todo entity, and AppDbContext
This commit is contained in:
10
backend/Models/Todo.cs
Normal file
10
backend/Models/Todo.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Backend.Models;
|
||||
|
||||
public class Todo
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public bool Completed { get; set; }
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user