Added automatic relation mapping

This commit is contained in:
2025-01-16 15:30:52 +01:00
parent 9d9f0ef7e4
commit c3c69466d4
9 changed files with 71 additions and 41 deletions

View File

@@ -16,13 +16,13 @@ public class Post {
[ForeignKey("author")]
public User? Author { get; set; }
/*public bool Published { get; set; }
public bool Published { get; set; }
public DateTime CreatedAt { get; set; }
public DateOnly Created { get; set; }
public TimeOnly At { get; set; }*/
public TimeOnly At { get; set; }
public ListSortDirection Type { get; set; }
}