биндинги

This commit is contained in:
Дмитрий Блохин 2024-04-03 13:49:07 +04:00
parent bead0ab7b1
commit bcc3913d96
4 changed files with 55 additions and 1 deletions

View File

@ -0,0 +1,16 @@
using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BindingModels
{
public class MachineBindingModel : IMachineModel
{
public int Id { get; set; }
public string Title { get; set; }
public string Country { get; set; }
}
}

View File

@ -0,0 +1,18 @@
using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BindingModels
{
public class WorkerBindingModel : IWorkerModel
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime Birthday { get; set; }
public string Specialization { get; set; }
public double Salary { get; set; }
}
}

View File

@ -0,0 +1,17 @@
using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BindingModels
{
public class WorkshopBindingModel : IWorkshopModel
{
public int Id { get; set; }
public string Title { get; set; }
public string Address { get; set; }
public string Director { get; set; }
}
}

View File

@ -7,11 +7,14 @@
</PropertyGroup>
<ItemGroup>
<Folder Include="BindingModels\" />
<Folder Include="BusinessLogicsContracts\" />
<Folder Include="SearchModels\" />
<Folder Include="StoragesContracts\" />
<Folder Include="ViewModels\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DataModels\DataModels.csproj" />
</ItemGroup>
</Project>