2023-03-26 19:14:28 +04:00
|
|
|
|
using ConstructionCompanyDataModels.Enums;
|
|
|
|
|
using ConstructionCompanyDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ConstructionCompanyContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderBindingModel : IOrderModel
|
|
|
|
|
{
|
|
|
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public string Adress { get; set; } = string.Empty;
|
|
|
|
|
|
2023-03-27 01:07:28 +04:00
|
|
|
|
public double Price { get; set; }
|
2023-03-26 19:14:28 +04:00
|
|
|
|
|
2023-03-27 01:07:28 +04:00
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
2023-03-26 19:14:28 +04:00
|
|
|
|
|
|
|
|
|
public string CustomerNumber { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public DateTime DateBegin { get; set; } = DateTime.Now.Date;
|
|
|
|
|
|
|
|
|
|
public DateTime? DateEnd { get; set; }
|
|
|
|
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|