Files
moadiran/Shared/DTOs/OrderDto.cs

34 lines
1.1 KiB
C#
Raw Normal View History

2024-07-25 17:18:03 +03:30
using System;
using System.Collections.Generic;
2024-07-26 10:30:07 +03:30
using System.ComponentModel.DataAnnotations;
2024-07-25 17:18:03 +03:30
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs
{
public class OrderDto
{
2024-07-26 10:30:07 +03:30
[Display(Name = "شناسه")]
2024-07-25 17:18:03 +03:30
public int ID { get; set; }
2024-07-26 10:30:07 +03:30
2024-07-25 17:18:03 +03:30
public StatusOrder Status { get; set; }
2024-07-26 10:30:07 +03:30
[Display(Name = "وضعیت")]
2024-07-25 17:18:03 +03:30
public string StatusTitle { get { return Status.GetEnumDisplayName(); } }
2024-07-26 10:30:07 +03:30
[Display(Name = "زمان ایجاد")]
2024-07-25 17:18:03 +03:30
public string DateCreate { get; set; }
2024-07-26 10:30:07 +03:30
[Display(Name = "زمان پرداخت")]
2024-07-25 17:18:03 +03:30
public string ApprovalDate { get; set; }
2024-07-26 10:30:07 +03:30
[Display(Name = "مبلغ سفارش")]
2024-07-25 17:18:03 +03:30
public decimal PreDiscount { get; set; }
2024-07-26 10:30:07 +03:30
[Display(Name = "تخفیف سفارش")]
2024-07-25 17:18:03 +03:30
public decimal TDiscount { get; set; }
2024-07-27 17:06:32 +03:30
[Display(Name = "بغد از تخفیف")]
2024-07-25 17:18:03 +03:30
public decimal lstDiscount { get; set; }
2024-07-27 17:06:32 +03:30
[Display(Name = "مالیات")]
2024-07-25 17:18:03 +03:30
public decimal TTax { get; set; }
2024-07-26 10:30:07 +03:30
[Display(Name = "مبلغ نهایی")]
2024-07-25 17:18:03 +03:30
public decimal TPrice { get; set; }
}
}