Added ef core integration
All checks were successful
HopFrame CI / build (push) Successful in 46s
HopFrame CI / test (push) Successful in 50s

This commit is contained in:
2026-02-23 16:20:32 +01:00
parent e8ac7eb88a
commit 6730d57771
25 changed files with 929 additions and 63 deletions

View File

@@ -0,0 +1,13 @@
using System.ComponentModel.DataAnnotations;
namespace TestApplication.Models;
public class Post {
[Key]
public Guid Id { get; } = Guid.CreateVersion7();
public required User Sender { get; set; }
[MaxLength(5000)]
public required string Message { get; set; }
}