-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOrderItem.cs
More file actions
32 lines (31 loc) · 1022 Bytes
/
Copy pathOrderItem.cs
File metadata and controls
32 lines (31 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Order_Module_ConsoleApp
{
public class OrderItem
{
public int Id { get; set; }
public int OrderId { get; set; }
public string ProductId { get; set; }
public float Price { get; set; }
public float Discount { get; set; }
public float PaidPrice { get; set; }
public float Amount { get; set; }
public string AmountType { get; set; }
public string ProductJson { get; set; }
public OrderItem(int id, int orderId, string productId, float price, float discount, float paidPrice, float amount, string amountType, string productJson)
{
Id = id;
OrderId = orderId;
ProductId = productId;
Price = price;
Discount = discount;
Amount = amount;
AmountType = amountType;
ProductJson = productJson;
}
}
}