Simple MVC CRUD. Remove NOT NULL on some attributes in Person
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user