Added relation support

This commit is contained in:
Leon Hoppe
2025-01-15 08:02:23 +01:00
parent c4c0424559
commit ad4d9c65d6
12 changed files with 93 additions and 15 deletions

View File

@@ -1,6 +1,9 @@
namespace HopFrame.Testing.Models;
using System.ComponentModel.DataAnnotations;
namespace HopFrame.Testing.Models;
public class User {
[Key]
public required Guid Id { get; init; }
public required string Email { get; init; }
public string? Username { get; set; }