2023-03-26 19:14:28 +04:00
|
|
|
|
using ConstructionCompanyDataModels.Enums;
|
|
|
|
|
using ConstructionCompanyDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ConstructionCompanyContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class OrderViewModel : IOrderModel
|
|
|
|
|
{
|
2023-04-10 13:02:23 +04:00
|
|
|
|
[DisplayName("Номер")]
|
|
|
|
|
public int Id { get; set; }
|
2023-03-26 19:14:28 +04:00
|
|
|
|
[DisplayName("Описание")]
|
|
|
|
|
public string Description {get;set;} = string.Empty;
|
|
|
|
|
[DisplayName("Адрес")]
|
|
|
|
|
public string Adress {get;set;} = string.Empty;
|
|
|
|
|
[DisplayName("Стоимость")]
|
|
|
|
|
public double Price { get; set; }
|
|
|
|
|
[DisplayName("Статус")]
|
|
|
|
|
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
|
|
|
|
[DisplayName("Телефон заказчика")]
|
|
|
|
|
public string CustomerNumber { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Дата создания")]
|
|
|
|
|
public DateTime DateBegin { get; set; } = DateTime.Now.Date;
|
|
|
|
|
[DisplayName("Дата выполнения")]
|
|
|
|
|
public DateTime? DateEnd { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|