SearchModel

This commit is contained in:
Ismailov_Rovshan 2023-04-05 22:38:32 +04:00
parent 2fda39d8cc
commit 9472c2e691
6 changed files with 76 additions and 1 deletions

View File

@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FurnitureFactoryDataModels.Models;
namespace FurnitureContracts.BindingModels
{
internal class UserBindingModel : IUserModel
{
public int Login { get; set; }
public int Password { get; set; }
public string UserName { get; set; } = string.Empty;
public int RoleID { 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 FurnitureContracts.SearchModels
{
public class FurnitureSearchModel
{
public string? Name { get; set; }
public int? Id { 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 FurnitureContracts.SearchModels
{
internal class HeadsetModuleSearchModel
{
public string? Name { get; set; }
public int? Id { 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 FurnitureContracts.SearchModels
{
public class MaterialSearchModel
{
public string? Name { get; set; }
public int? Id { 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 FurnitureContracts.SearchModels
{
internal class UserSearchModel
{
public string? Name { get; set; }
public int? Id { get; set; }
}
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface User
public interface IUserModel
{
int Login { get;}
int Password { get; }