мяу2
This commit is contained in:
parent
697db40b94
commit
2d53ba936b
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PrecastConcretePlantContracts.BindingModels
|
||||
{
|
||||
internal class ComponentBindingModel
|
||||
{
|
||||
}
|
||||
}
|
@ -1,12 +1,15 @@
|
||||
using System;
|
||||
using PrecastConcretePlantDataModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PrecastConcretePlantDataModels
|
||||
namespace PrecastConcretePlantDataModels.Models
|
||||
{
|
||||
internal class IComponentModel
|
||||
public interface IComponentModel : IId
|
||||
{
|
||||
string ComponentName { get; }
|
||||
double Cost { get; }
|
||||
}
|
||||
}
|
||||
}
|
@ -6,7 +6,8 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace PrecastConcretePlantDataModels
|
||||
{
|
||||
internal class IId
|
||||
public interface IId
|
||||
{
|
||||
int Id { get; }
|
||||
}
|
||||
}
|
||||
}
|
@ -1,12 +1,19 @@
|
||||
using System;
|
||||
using PrecastConcretePlantDataModels.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PrecastConcretePlantDataModels
|
||||
namespace PrecastConcretePlantDataModels.Models
|
||||
{
|
||||
internal class IOrderModel
|
||||
public interface IOrderModel : IId
|
||||
{
|
||||
int ReinforcedId { get; }
|
||||
int Count { get; }
|
||||
double Sum { get; }
|
||||
OrderStatus Status { get; }
|
||||
DateTime DateCreate { get; }
|
||||
DateTime? DateImplement { get; }
|
||||
}
|
||||
}
|
||||
|
@ -1,12 +1,16 @@
|
||||
using System;
|
||||
using PrecastConcretePlantDataModels.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PrecastConcretePlantDataModels
|
||||
namespace PrecastConcretePlantDataModels.Models
|
||||
{
|
||||
internal class IReinforcedModel
|
||||
public interface IReinforcedModel : IId
|
||||
{
|
||||
string ReinforcedName { get; }
|
||||
double Price { get; }
|
||||
Dictionary<int, (IComponentModel, int)> ReinforcedComponents { get; }
|
||||
}
|
||||
}
|
||||
|
@ -4,9 +4,14 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PrecastConcretePlantDataModels
|
||||
namespace PrecastConcretePlantDataModels.Enums
|
||||
{
|
||||
internal class OrderStatus
|
||||
public enum OrderStatus
|
||||
{
|
||||
Неизвестен = -1,
|
||||
Принят = 0,
|
||||
Выполняется = 1,
|
||||
Готов = 2,
|
||||
Выдан = 3
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user