-
Notifications
You must be signed in to change notification settings - Fork 1
/
Expense.cs
37 lines (36 loc) · 934 Bytes
/
Expense.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
using CommunityToolkit.Mvvm.ComponentModel;
namespace Essensausgleich
{
/// <summary>
/// Class to serve as Sigle entrys for the Inhabitant object
/// </summary>
public partial class Expense : ObservableObject
{
private string _Categorie = string.Empty;
/// <summary>
/// Categorie string of Expense
/// </summary>
public string Categorie
{
get => this._Categorie;
set
{
this._Categorie = value;
OnPropertyChanged();
}
}
private decimal _ValueExpense;
/// <summary>
/// Amount in decimal of Expense
/// </summary>
public decimal ValueExpense
{
get => this._ValueExpense;
set
{
this._ValueExpense = value;
OnPropertyChanged();
}
}
}
}