Изменение уровня доступа

This commit is contained in:
FLARJ 2023-04-05 21:39:21 +04:00
parent 11ad70ac8f
commit 086dca513c
9 changed files with 24 additions and 7 deletions

View File

@ -0,0 +1,13 @@
using FurnitureFactoryDataModels.Models;
namespace FurnitureContracts.BindingModels
{
public class OrdersBindingModel : IOrdersModel
{
public DateTime Date { get; set; } = DateTime.Now;
public string Status { get; set; } = string.Empty;
public int Id { get; set; }
public Dictionary<int, IFurnitureModel> FurnitureId { get; set; }
public Dictionary<int, IHeadsetModel> HeadsetId { get; set; }
}
}

View File

@ -10,4 +10,8 @@
<Folder Include="BindingModels\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FurnitureFactoryDataModels\FurnitureFactoryDataModels.csproj" />
</ItemGroup>
</Project>

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IFurnitureModel : IId
public interface IFurnitureModel : IId
{
string Name { get;}
string Color { get; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IHeadsetModel : IId
public interface IHeadsetModel : IId
{
int Cost { get;}
string Size { get; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IHeadsetModuleModel : IId
public interface IHeadsetModuleModel : IId
{
string Style { get;}
int Cost { get;}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IMaterialModel : IId
public interface IMaterialModel : IId
{
string Name { get; }
string Cost { get; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IOrdersModel : IId
public interface IOrdersModel : IId
{
DateTime Date { get; }
string Status { get; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface IRoleModel : IId
public interface IRoleModel : IId
{
string Name { get; }
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace FurnitureFactoryDataModels.Models
{
internal interface ISalesSalonsModel : IId
public interface ISalesSalonsModel : IId
{
string Name { get; }
string Address { get; }