Fixed warnings with unnecessary usings and forgotten nulls!

This commit is contained in:
2024-08-13 22:05:10 +03:00
parent b424f0561e
commit e0f9a0f10f
3 changed files with 3 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ namespace Domains.ApplicantDomain
public Name Name { get; set; } = null!; public Name Name { get; set; } = null!;
/// Passport of <see cref="Applicant"/> /// Passport of <see cref="Applicant"/>
public Passport Passport { get; set; } public Passport Passport { get; set; } = null!;
/// Date of birth of the <see cref="Applicant"/> /// Date of birth of the <see cref="Applicant"/>
public DateOnly BirthDate { get; set; } public DateOnly BirthDate { get; set; }
@@ -42,7 +42,7 @@ namespace Domains.ApplicantDomain
public Name MotherName { get; set; } = null!; public Name MotherName { get; set; } = null!;
/// Position of <see cref="Applicant"/> /// Position of <see cref="Applicant"/>
public string JobTitle { get; set; } public string JobTitle { get; set; } = null!;
/// Place of <see cref="Applicant"/>'s work /// Place of <see cref="Applicant"/>'s work
public PlaceOfWork PlaceOfWork { get; set; } = null!; public PlaceOfWork PlaceOfWork { get; set; } = null!;

View File

@@ -1,5 +1,4 @@
using Domains.VisaApplicationDomain; using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Infrastructure.Database.Configuration.VisaApplication namespace Infrastructure.Database.Configuration.VisaApplication

View File

@@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using Domains;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
namespace Infrastructure.Database namespace Infrastructure.Database