Skip to content

Commit

Permalink
Merge pull request MoneyFox#3160 from NPadrutt/cleanup
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
NPadrutt authored Jan 4, 2024
2 parents 6c0c7f7 + a7dce52 commit 8565c99
Show file tree
Hide file tree
Showing 39 changed files with 1,376 additions and 2,334 deletions.
3 changes: 0 additions & 3 deletions Src/MoneyFox.Core/Common/Interfaces/IAppDbContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace MoneyFox.Core.Common.Interfaces;
using System;
using System.Threading;
using System.Threading.Tasks;
using Domain.Aggregates;
using Domain.Aggregates.AccountAggregate;
using Domain.Aggregates.BudgetAggregate;
using Domain.Aggregates.CategoryAggregate;
Expand All @@ -17,8 +16,6 @@ public interface IAppDbContext : IDisposable

DbSet<Payment> Payments { get; }

DbSet<RecurringPayment> RecurringPayments { get; }

DbSet<RecurringTransaction> RecurringTransactions { get; }

DbSet<Category> Categories { get; }
Expand Down
309 changes: 0 additions & 309 deletions Src/MoneyFox.Domain.Tests/Aggregates/RecurringPaymentTests.cs

This file was deleted.

9 changes: 6 additions & 3 deletions Src/MoneyFox.Domain/Aggregates/AccountAggregate/Payment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,13 @@ public int? CategoryId

public virtual Account? TargetAccount { get; private set; }

[Obsolete("To be removed")]
public virtual RecurringPayment? RecurringPayment { get; } = null!;
public Guid? RecurringTransactionId
{
get;

public Guid? RecurringTransactionId { get; private set; }
[UsedImplicitly]
private set;
}

public void UpdatePayment(
DateTime date,
Expand Down
Loading

0 comments on commit 8565c99

Please sign in to comment.