Simple MVC CRUD. Remove NOT NULL on some attributes in Person

This commit is contained in:
Boris Milašinović
2026-04-25 19:52:11 +02:00
parent 3e38889ada
commit eb04483417
46 changed files with 1989 additions and 26 deletions

View File

@@ -0,0 +1,25 @@
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable enable
using System;
using System.Collections.Generic;
namespace Events.EF.Models;
public partial class Registration
{
public int Id { get; set; }
public int PersonId { get; set; }
public int SportId { get; set; }
public int EventId { get; set; }
public DateTime RegisteredAt { get; set; }
public virtual Event Event { get; set; } = null!;
public virtual Person Person { get; set; } = null!;
public virtual Sport Sport { get; set; } = null!;
}