2024-03-06 09:21:43 +04:00
|
|
|
|
using GarmentFactoryDataModels.Enums;
|
|
|
|
|
using GarmentFactoryDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace GarmentFactoryContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2024-04-11 13:43:22 +04:00
|
|
|
|
public int ClientId { get; set; }
|
2024-03-06 09:21:43 +04:00
|
|
|
|
public int TextileId { get; set; }
|
|
|
|
|
public int Count { get; set; }
|
|
|
|
|
public double Sum { get; set; }
|
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
|
|
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
|
|
|
|
public DateTime? DateComplete { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|