add reset every x amount of time feature

This commit is contained in:
Kukks
2019-01-04 11:42:37 +01:00
parent c52a49f747
commit 7768f41849
9 changed files with 133 additions and 37 deletions

View File

@@ -29,6 +29,8 @@ namespace BTCPayServer.Models.AppViewModels
public bool SoundsEnabled { get; set; }
public string DisqusShortname { get; set; }
public bool AnimationsEnabled { get; set; }
public int ResetEveryAmount { get; set; }
public string ResetEvery { get; set; }
public class CrowdfundInfo
@@ -41,6 +43,8 @@ namespace BTCPayServer.Models.AppViewModels
public DateTime LastUpdated { get; set; }
public Dictionary<string, decimal> PaymentStats { get; set; }
public Dictionary<string, decimal> PendingPaymentStats { get; set; }
public DateTime? LastResetDate { get; set; }
public DateTime? NextResetDate { get; set; }
}
}