Контракты -> BindingModels, SearchModels;
This commit is contained in:
parent
458ec7a3b2
commit
d37d3c7043
@ -3,7 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.5.33424.131
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CaseAccountingDataModels", "CaseAccountingDataModels\CaseAccountingDataModels.csproj", "{CAA81DB0-6CCA-4CBE-ABE2-94CDB190E05F}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CaseAccountingDataModels", "CaseAccountingDataModels\CaseAccountingDataModels.csproj", "{CAA81DB0-6CCA-4CBE-ABE2-94CDB190E05F}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CaseAccountingContracts", "CaseAccountingContracts\CaseAccountingContracts.csproj", "{5EB90E7D-3EBE-4E01-BBFE-CE15629BDBEF}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CaseAccountingDataBaseImplement", "CaseAccountingDataBaseImplement\CaseAccountingDataBaseImplement.csproj", "{025B8D7C-ACDD-4CA3-A2E1-BF833CA2D65D}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@ -15,6 +19,14 @@ Global
|
||||
{CAA81DB0-6CCA-4CBE-ABE2-94CDB190E05F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{CAA81DB0-6CCA-4CBE-ABE2-94CDB190E05F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CAA81DB0-6CCA-4CBE-ABE2-94CDB190E05F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5EB90E7D-3EBE-4E01-BBFE-CE15629BDBEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5EB90E7D-3EBE-4E01-BBFE-CE15629BDBEF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5EB90E7D-3EBE-4E01-BBFE-CE15629BDBEF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5EB90E7D-3EBE-4E01-BBFE-CE15629BDBEF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{025B8D7C-ACDD-4CA3-A2E1-BF833CA2D65D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{025B8D7C-ACDD-4CA3-A2E1-BF833CA2D65D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{025B8D7C-ACDD-4CA3-A2E1-BF833CA2D65D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{025B8D7C-ACDD-4CA3-A2E1-BF833CA2D65D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using CaseAccountingDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@ -6,7 +7,22 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.BindingModels
|
||||
{
|
||||
public class CaseBindingModel
|
||||
public class CaseBindingModel : ICaseModel
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public string Applicant { get; set; } = string.Empty;
|
||||
|
||||
public string Defendant { get; set; } = string.Empty;
|
||||
|
||||
public string Annotation { get; set; } = string.Empty;
|
||||
|
||||
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
|
||||
|
||||
public int SpecializationId { get; set; }
|
||||
|
||||
public int UserId { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,20 @@
|
||||
using CaseAccountingDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.BindingModels
|
||||
{
|
||||
public class ContractBindingModel : IContractModel
|
||||
{
|
||||
public string Service { get; set; } = string.Empty;
|
||||
|
||||
public decimal Coast { get; set; }
|
||||
|
||||
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
using CaseAccountingDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.BindingModels
|
||||
{
|
||||
public class DealBindingModel : IDealModel
|
||||
{
|
||||
public string Subject { get; set; } = string.Empty;
|
||||
|
||||
public string Responsibilities { get; set; } = string.Empty;
|
||||
|
||||
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
using CaseAccountingDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.BindingModels
|
||||
{
|
||||
public class HearingBindingModel : IHearingModel
|
||||
{
|
||||
public string Information { get; set; } = string.Empty;
|
||||
|
||||
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
|
||||
|
||||
public int CaseId { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
using CaseAccountingDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.BindingModels
|
||||
{
|
||||
public class LawyerBindingModel : ILawyerModel
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public string Surname { get; set; } = string.Empty;
|
||||
|
||||
public string Patronymic { get; set; } = string.Empty;
|
||||
|
||||
public int Experience { get; set; }
|
||||
|
||||
public int SpecializationId { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
using CaseAccountingDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.BindingModels
|
||||
{
|
||||
public class RoleBindingModel : IRoleModel
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
using CaseAccountingDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.BindingModels
|
||||
{
|
||||
public class SpecializationBindingModel : ISpecializationModel
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
using CaseAccountingDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.BindingModels
|
||||
{
|
||||
public class UserBindingModel : IUserModel
|
||||
{
|
||||
public string Login { get; set; } = string.Empty;
|
||||
|
||||
public string Password { get; set; } = string.Empty;
|
||||
|
||||
public int RoleId { get; set; }
|
||||
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
@ -6,4 +6,8 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CaseAccountingDataModels\CaseAccountingDataModels.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.SearchModels
|
||||
{
|
||||
public class CaseSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
|
||||
public string? Name { get; set; }
|
||||
|
||||
public string? Applicant { get; set; }
|
||||
|
||||
public string? Defendant { get; set; }
|
||||
|
||||
public DateTime? Date { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.SearchModels
|
||||
{
|
||||
public class ContractSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
|
||||
public DateTime? Date { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.SearchModels
|
||||
{
|
||||
public class DealSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
|
||||
public DateTime? Date { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.SearchModels
|
||||
{
|
||||
public class HearingModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
|
||||
public DateTime? Date { get; set; }
|
||||
|
||||
public int? CaseId { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.SearchModels
|
||||
{
|
||||
public class LawyerSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
|
||||
public int SpecializationId { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.SearchModels
|
||||
{
|
||||
public class RoleSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
public string? Name { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.SearchModels
|
||||
{
|
||||
public class SpecializationSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
public string? Name { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.SearchModels
|
||||
{
|
||||
public class UserSearchModel
|
||||
{
|
||||
public int? Id { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user