И всё по новой
This commit is contained in:
parent
cba5b48efb
commit
32e827e3e8
@ -1,4 +1,5 @@
|
|||||||
using ElectronicsShopDataModels.Enums;
|
using ElectronicsShopDataModels.Enums;
|
||||||
|
using ElectronicsShopDataModels.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@ -10,8 +11,12 @@ namespace ElectronicsShopContracts.SearchModels
|
|||||||
public class OrderSearchModel
|
public class OrderSearchModel
|
||||||
{
|
{
|
||||||
public int? ID { get; set; }
|
public int? ID { get; set; }
|
||||||
|
//public int? OplataID { get; set; }
|
||||||
public int? UserID { get; set; }
|
public int? UserID { get; set; }
|
||||||
|
public OrderStatus OrderStatus { get; set; }
|
||||||
|
public PaymeantOption PaymeantOption { get; set; }
|
||||||
public DateTime? DateFrom { get; set; }
|
public DateTime? DateFrom { get; set; }
|
||||||
public DateTime? DateTo { get; set;}
|
public DateTime? DateTo { get; set;}
|
||||||
|
public Dictionary<int, (IProductModel, int)>? ProductList { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,12 +14,16 @@ namespace ElectronicsShopContracts.ViewModels
|
|||||||
public int ID { get; set; }
|
public int ID { get; set; }
|
||||||
[DisplayName("Клиент ID")]
|
[DisplayName("Клиент ID")]
|
||||||
public int UserID { get; set; }
|
public int UserID { get; set; }
|
||||||
|
[DisplayName("Исполнитель ID")]
|
||||||
|
public int ImplementerID { get; set; }
|
||||||
|
[DisplayName("Оплата ID")]
|
||||||
|
public int PaymentID { get; set; }
|
||||||
|
|
||||||
[DisplayName("Сумма")]
|
[DisplayName("Сумма")]
|
||||||
public double Sum { get; set; }
|
public double Sum { get; set; }
|
||||||
|
|
||||||
[DisplayName("Статус")]
|
[DisplayName("Статус")]
|
||||||
public OrderStatus Status { get; set; } = OrderStatus.Неизвестен;
|
public OrderStatus OrderStatus { get; set; } = OrderStatus.Неизвестен;
|
||||||
|
|
||||||
[DisplayName("Стутус оплаты")]
|
[DisplayName("Стутус оплаты")]
|
||||||
public PaymeantOption PaymeantOption { get; set; } = PaymeantOption.Неизвестно;
|
public PaymeantOption PaymeantOption { get; set; } = PaymeantOption.Неизвестно;
|
||||||
@ -29,7 +33,8 @@ namespace ElectronicsShopContracts.ViewModels
|
|||||||
|
|
||||||
[DisplayName("Дата выполнения")]
|
[DisplayName("Дата выполнения")]
|
||||||
public DateTime? DateImplement { get; set; }
|
public DateTime? DateImplement { get; set; }
|
||||||
|
[DisplayName("Корзина")]
|
||||||
public Dictionary<int, (IProductModel, int)> ProductList { get; set; } = new();
|
public Dictionary<int, (IProductModel, int)> ProductList { get; set; } = new();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user