Изменение уровня доступа
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\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\FurnitureFactoryDataModels\FurnitureFactoryDataModels.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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;}
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureFactoryDataModels.Models
|
||||
{
|
||||
internal interface IRoleModel : IId
|
||||
public interface IRoleModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
}
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user