order in front

This commit is contained in:
mmrbnjd
2024-07-26 10:30:07 +03:30
parent e840978cc1
commit c9633e8833
6 changed files with 238 additions and 13 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -8,15 +9,25 @@ namespace Shared.DTOs
{
public class OrderDto
{
[Display(Name = "شناسه")]
public int ID { get; set; }
public StatusOrder Status { get; set; }
[Display(Name = "وضعیت")]
public string StatusTitle { get { return Status.GetEnumDisplayName(); } }
[Display(Name = "زمان ایجاد")]
public string DateCreate { get; set; }
[Display(Name = "زمان پرداخت")]
public string ApprovalDate { get; set; }
[Display(Name = "مبلغ سفارش")]
public decimal PreDiscount { get; set; }
[Display(Name = "تخفیف سفارش")]
public decimal TDiscount { get; set; }
[Display(Name = "مبلغ بغد از تخفیف")]
public decimal lstDiscount { get; set; }
[Display(Name = "مبلغ مالیات")]
public decimal TTax { get; set; }
[Display(Name = "مبلغ نهایی")]
public decimal TPrice { get; set; }
}
}