Added automatic relation mapping
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user