Added entry saving support

This commit is contained in:
2025-01-15 20:43:57 +01:00
parent d4018cceec
commit 1cf2b44503
11 changed files with 285 additions and 76 deletions

View File

@@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HopFrame.Testing.Models;
@@ -15,5 +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 ListSortDirection Type { get; set; }
}