воскрешение дата моделс 2

This commit is contained in:
Софья Якобчук 2024-05-01 21:03:58 +04:00
parent 23e3485c31
commit 9c4ea547f1
13 changed files with 67 additions and 67 deletions

View File

@ -9,9 +9,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LawCompanyBusinessLogic", "
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LawCompanyDatabaseImplement", "LawCompanyDatabaseImplement\LawCompanyDatabaseImplement.csproj", "{9A4CBD1F-020F-4036-A71D-AB6BF3489EE0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LawCompanyDataModels", "LawCompanyDataModels\LawCompanyDataModels.csproj", "{152E41DA-5E16-41FE-BA0A-20488C16AA34}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LawCompanyRestApi", "LawCompanyRestApi\LawCompanyRestApi.csproj", "{EB5AE263-399B-49A4-8C91-5128638C5A93}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LawCompanyRestApi", "LawCompanyRestApi\LawCompanyRestApi.csproj", "{EB5AE263-399B-49A4-8C91-5128638C5A93}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LawCompanyDataModels", "LawCompanyDataModels\LawCompanyDataModels.csproj", "{D16E073F-6E02-410D-89DC-67ECE1E1A0A6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -31,14 +31,14 @@ Global
{9A4CBD1F-020F-4036-A71D-AB6BF3489EE0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9A4CBD1F-020F-4036-A71D-AB6BF3489EE0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9A4CBD1F-020F-4036-A71D-AB6BF3489EE0}.Release|Any CPU.Build.0 = Release|Any CPU
{152E41DA-5E16-41FE-BA0A-20488C16AA34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{152E41DA-5E16-41FE-BA0A-20488C16AA34}.Debug|Any CPU.Build.0 = Debug|Any CPU
{152E41DA-5E16-41FE-BA0A-20488C16AA34}.Release|Any CPU.ActiveCfg = Release|Any CPU
{152E41DA-5E16-41FE-BA0A-20488C16AA34}.Release|Any CPU.Build.0 = Release|Any CPU
{EB5AE263-399B-49A4-8C91-5128638C5A93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EB5AE263-399B-49A4-8C91-5128638C5A93}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EB5AE263-399B-49A4-8C91-5128638C5A93}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EB5AE263-399B-49A4-8C91-5128638C5A93}.Release|Any CPU.Build.0 = Release|Any CPU
{D16E073F-6E02-410D-89DC-67ECE1E1A0A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D16E073F-6E02-410D-89DC-67ECE1E1A0A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D16E073F-6E02-410D-89DC-67ECE1E1A0A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D16E073F-6E02-410D-89DC-67ECE1E1A0A6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>

View File

@ -1,11 +1,11 @@
namespace LawCompanyDataModels.Enums
{
public enum CaseStatus
{
Неизвестен = -1,
Принято = 0,
АнализДелаИПодготовкаДокументов = 1,
СлушанияДела = 2,
ЗакрытиеДела = 3
}
public enum CaseStatus
{
Неизвестен = -1,
Принято = 0,
АнализДелаИПодготовкаДокументов = 1,
СлушанияДела = 2,
ЗакрытиеДела = 3
}
}

View File

@ -1,7 +1,7 @@
namespace LawCompanyDataModels
{
public interface IId
{
int Id { get; }
}
public interface IId
{
int Id { get; }
}
}

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>

View File

@ -2,14 +2,14 @@
namespace LawCompanyDataModels.Models
{
public interface ICaseModel : IId
{
Dictionary<int, IClientModel> CaseClients { get; }
string Name { get; }
CaseStatus Status { get; }
string CaseType { get; }
DateTime DateCreate { get; }
DateTime? DateImplement { get; }
public interface ICaseModel : IId
{
Dictionary<int, IClientModel> CaseClients { get; }
string Name { get; }
CaseStatus Status { get; }
string CaseType { get; }
DateTime DateCreate { get; }
DateTime? DateImplement { get; }
public int ExecutorId { get; }
}
}

View File

@ -1,10 +1,10 @@
namespace LawCompanyDataModels.Models
{
public interface IClientModel : IId
{
string FIO { get; }
string Phone { get; }
string Email { get; }
public interface IClientModel : IId
{
string FIO { get; }
string Phone { get; }
string Email { get; }
public int ExecutorId { get; }
}
}

View File

@ -1,11 +1,11 @@
namespace LawCompanyDataModels.Models
{
public interface IConsultationModel : IId
{
Dictionary<int, ILawyerModel> ConsultationLawyers { get; }
double Cost { get; }
DateTime ConsultationDate { get; }
public int CaseId { get; }
public int GuarantorId { get; }
}
public interface IConsultationModel : IId
{
Dictionary<int, ILawyerModel> ConsultationLawyers { get; }
double Cost { get; }
DateTime ConsultationDate { get; }
public int CaseId { get; }
public int GuarantorId { get; }
}
}

View File

@ -1,9 +1,9 @@
namespace LawCompanyDataModels.Models
{
public interface IGuarantorModel : IId
{
string FIO { get; }
string Email { get; }
string Password { get; }
}
public interface IGuarantorModel : IId
{
string FIO { get; }
string Email { get; }
string Password { get; }
}
}

View File

@ -1,10 +1,10 @@
namespace LawCompanyDataModels.Models
{
public interface IHearingModel : IId
{
Dictionary<int, ILawyerModel> HearingLawyers { get; }
DateTime HearingDate { get; }
string Judge { get; }
public int GuarantorId { get; }
}
public interface IHearingModel : IId
{
Dictionary<int, ILawyerModel> HearingLawyers { get; }
DateTime HearingDate { get; }
string Judge { get; }
public int GuarantorId { get; }
}
}

View File

@ -6,11 +6,11 @@ using System.Threading.Tasks;
namespace LawCompanyDataModels.Models
{
public interface ILawyerModel : IId
{
string FIO { get; }
string Phone { get; }
string Email { get; }
public int GuarantorId { get; }
}
public interface ILawyerModel : IId
{
string FIO { get; }
string Phone { get; }
string Email { get; }
public int GuarantorId { get; }
}
}

View File

@ -1,10 +1,10 @@
namespace LawCompanyDataModels.Models
{
public interface IVisitModel : IId
{
Dictionary<int, IClientModel> VisitClients { get; }
DateTime VisitDate { get; }
int HearingId { get; }
public interface IVisitModel : IId
{
Dictionary<int, IClientModel> VisitClients { get; }
DateTime VisitDate { get; }
int HearingId { get; }
public int ExecutorId { get; }
}
}