Созданы Search модели, изменены модификаторы доступа классов BindingModels

This commit is contained in:
Данила Мочалов 2023-01-28 19:25:49 +04:00
parent 73ab10abd1
commit c5174ca09e
6 changed files with 45 additions and 3 deletions

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace LawFirmContracts.BindingModels namespace LawFirmContracts.BindingModels
{ {
internal class BlankBindingModel : IBlankModel public class BlankBindingModel : IBlankModel
{ {
public string BlankName { get; set; } = string.Empty; public string BlankName { get; set; } = string.Empty;

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace LawFirmContracts.BindingModels namespace LawFirmContracts.BindingModels
{ {
internal class DocumentBindingModel : IDocumentModel public class DocumentBindingModel : IDocumentModel
{ {
public string DocumentName {get; set;} = string.Empty; public string DocumentName {get; set;} = string.Empty;

View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace LawFirmContracts.BindingModels namespace LawFirmContracts.BindingModels
{ {
internal class OrderBindingModel : IOrderModel public class OrderBindingModel : IOrderModel
{ {
public int DocumentId { get; set; } public int DocumentId { get; set; }

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LawFirmContracts.SearchModels
{
public class BlankSearchModel
{
public int? Id { get; set; }
public string? BlankName { get; set; }
}
}

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LawFirmContracts.SearchModels
{
public class DocumentSearchModel
{
public int? Id { get; set; }
public string? DocumentName { get; set; }
}
}

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LawFirmContracts.SearchModels
{
public class OrderSearchModel
{
public int? Id { get; set; }
}
}