-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInvoice.cs
46 lines (39 loc) · 912 Bytes
/
Invoice.cs
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace E4422 {
public class Invoice {
private int id;
public int Id {
get {
return id;
}
set {
id = value;
}
}
private decimal price;
public decimal Price {
get {
return price;
}
set {
price = value;
}
}
private string description;
public string Description {
get {
return description;
}
set {
description = value;
}
}
public Invoice(int id, decimal price, string description) {
this.Id = id;
this.Price = price;
this.Description = description;
}
}
}