Eliseev E.E. LabWork01 #1

Closed
ElEgEv wants to merge 26 commits from LabWork01 into main
6 changed files with 59 additions and 3 deletions
Showing only changes of commit 89c8a663d1 - Show all commits

View File

@ -7,7 +7,8 @@ using BlacksmithWorkshopDataModels.Models;
namespace BlacksmithWorkshopContracts.BindingModels
{
internal class ComponentBindingModel : IComponentModel
//реализация сущности "Компонент"
public class ComponentBindingModel : IComponentModel
{
public int Id { get; set; }

View File

@ -8,7 +8,8 @@ using System.Threading.Tasks;
namespace BlacksmithWorkshopContracts.BindingModels
{
internal class OrderBindingModel : IOrderModel
//реализация сущности "Заказ"
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }

View File

@ -7,7 +7,8 @@ using System.Threading.Tasks;
namespace BlacksmithWorkshopContracts.BindingModels
{
internal class ProductBindingModel : IProductModel
//реализация сущности "Продукт"
public class ProductBindingModel : IProductModel
{
public int Id { get; set; }

View File

@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlacksmithWorkshopContracts.SearchModels
{
//модель для поиска сущности "Компонент"
public class ComponentSearchModel
{
//для поиска по идентификатору
public int? Id { get; set; }
//для поиска по названию
public string? ComponentName { get; set; }
}
}

View File

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlacksmithWorkshopContracts.SearchModels
{
//для поиска сущности "Заказ"
public class OrderSearchModel
{
//для поиска по идентификатору
public int? Id { get; set; }
}
}

View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlacksmithWorkshopContracts.SearchModels
{
//модель для поиска компонента "Продукт"
public class ProductSearchModel
{
//для поиска по идентификатору
public int? Id { get; set; }
//для поиска по названию
public string? ProductName { get; set; }
}
}