mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Archive stores and apps (#5296)
* Add flags and migration * Archive store * Archive apps
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using BTCPayServer.Models.AppViewModels;
|
||||
using BTCPayServer.Payments;
|
||||
using BTCPayServer.Plugins.PointOfSale.Models;
|
||||
using BTCPayServer.Services.Rates;
|
||||
|
||||
@@ -61,8 +58,6 @@ namespace BTCPayServer.Plugins.Crowdfund.Models
|
||||
public DateTime? NextResetDate { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
public bool Started => !StartDate.HasValue || DateTime.UtcNow > StartDate;
|
||||
|
||||
public bool Ended => EndDate.HasValue && DateTime.UtcNow > EndDate;
|
||||
|
||||
Reference in New Issue
Block a user