Изменение уровня доступа
This commit is contained in:
parent
11ad70ac8f
commit
086dca513c
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
@ -10,4 +10,8 @@
|
|||||||
<Folder Include="BindingModels\" />
|
<Folder Include="BindingModels\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\FurnitureFactoryDataModels\FurnitureFactoryDataModels.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace FurnitureFactoryDataModels.Models
|
namespace FurnitureFactoryDataModels.Models
|
||||||
{
|
{
|
||||||
internal interface IFurnitureModel : IId
|
public interface IFurnitureModel : IId
|
||||||
{
|
{
|
||||||
string Name { get;}
|
string Name { get;}
|
||||||
string Color { get; }
|
string Color { get; }
|
||||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace FurnitureFactoryDataModels.Models
|
namespace FurnitureFactoryDataModels.Models
|
||||||
{
|
{
|
||||||
internal interface IHeadsetModel : IId
|
public interface IHeadsetModel : IId
|
||||||
{
|
{
|
||||||
int Cost { get;}
|
int Cost { get;}
|
||||||
string Size { get; }
|
string Size { get; }
|
||||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace FurnitureFactoryDataModels.Models
|
namespace FurnitureFactoryDataModels.Models
|
||||||
{
|
{
|
||||||
internal interface IHeadsetModuleModel : IId
|
public interface IHeadsetModuleModel : IId
|
||||||
{
|
{
|
||||||
string Style { get;}
|
string Style { get;}
|
||||||
int Cost { get;}
|
int Cost { get;}
|
||||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace FurnitureFactoryDataModels.Models
|
namespace FurnitureFactoryDataModels.Models
|
||||||
{
|
{
|
||||||
internal interface IMaterialModel : IId
|
public interface IMaterialModel : IId
|
||||||
{
|
{
|
||||||
string Name { get; }
|
string Name { get; }
|
||||||
string Cost { get; }
|
string Cost { get; }
|
||||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace FurnitureFactoryDataModels.Models
|
namespace FurnitureFactoryDataModels.Models
|
||||||
{
|
{
|
||||||
internal interface IOrdersModel : IId
|
public interface IOrdersModel : IId
|
||||||
{
|
{
|
||||||
DateTime Date { get; }
|
DateTime Date { get; }
|
||||||
string Status { get; }
|
string Status { get; }
|
||||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace FurnitureFactoryDataModels.Models
|
namespace FurnitureFactoryDataModels.Models
|
||||||
{
|
{
|
||||||
internal interface IRoleModel : IId
|
public interface IRoleModel : IId
|
||||||
{
|
{
|
||||||
string Name { get; }
|
string Name { get; }
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace FurnitureFactoryDataModels.Models
|
namespace FurnitureFactoryDataModels.Models
|
||||||
{
|
{
|
||||||
internal interface ISalesSalonsModel : IId
|
public interface ISalesSalonsModel : IId
|
||||||
{
|
{
|
||||||
string Name { get; }
|
string Name { get; }
|
||||||
string Address { get; }
|
string Address { get; }
|
||||||
|
Loading…
Reference in New Issue
Block a user