@@ -13,6 +13,10 @@ export default class Bill{
return this._name;
}
+ get amount(){
+ return this._amount;
+ }
+
static create(name, amount){
return new Bill(
crypto.randomUUID(),
@@ -13,6 +13,10 @@ export default class Income{
return new Income(