| 
									
										
										
										
											2024-07-25 17:18:03 +03:30
										 |  |  |  | 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; } | 
					
						
							| 
									
										
										
										
											2024-07-27 17:06:32 +03:30
										 |  |  |  |         public string Title { get; set; } | 
					
						
							| 
									
										
										
										
											2024-07-25 17:18:03 +03:30
										 |  |  |  |         public int OrderID { 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; } } | 
					
						
							|  |  |  |  |     } | 
					
						
							|  |  |  |  | } |