Files
moadiran/Shared/DTOs/OrderDto.cs
2024-07-26 10:30:07 +03:30

34 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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; }
}
}