Compare commits

..

2 Commits

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; }