This commit is contained in:
mmrbnjd
2024-07-25 17:18:03 +03:30
parent 466f26e986
commit 630d535962
15 changed files with 312 additions and 14 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs
{
public class OrderItemDto
{
public int ID { get; set; }
public int OrderID { get; set; }
public string Type { get; set; }
public int IDForType { get; set; }
public int CreditAmount { get; set; }
public decimal APrice { get; set; }
public decimal Discount { get; set; }
public decimal Tax { get; set; }
public decimal Total { get { return (CreditAmount * APrice) - Discount + Tax; } }
}
}