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

@@ -9,25 +9,25 @@ public partial class Person
{
public int Id { get; set; }
public string FirstName { get; set; } = null!;
public string? FirstName { get; set; }
public string LastName { get; set; } = null!;
public string? LastName { get; set; }
public string FirstNameTranscription { get; set; } = null!;
public string LastNameTranscription { get; set; } = null!;
public string AddressLine { get; set; } = null!;
public string? AddressLine { get; set; }
public string PostalCode { get; set; } = null!;
public string? PostalCode { get; set; }
public string City { get; set; } = null!;
public string? City { get; set; }
public string AddressCountry { get; set; } = null!;
public string? AddressCountry { get; set; }
public string Email { get; set; } = null!;
public string? Email { get; set; }
public string ContactPhone { get; set; } = null!;
public string? ContactPhone { get; set; }
public DateOnly BirthDate { get; set; }
@@ -38,4 +38,4 @@ public partial class Person
public virtual Country CountryCodeNavigation { get; set; } = null!;
public virtual ICollection<Registration> Registrations { get; set; } = new List<Registration>();
}
}