work on building the viewmodel for crowdfund

This commit is contained in:
Andrew Camilleri
2018-12-18 16:27:03 +01:00
parent b5d360594a
commit 27bde55f54
7 changed files with 202 additions and 17 deletions

View File

@@ -15,11 +15,9 @@ namespace BTCPayServer.Models.AppViewModels
[Required]
public bool Enabled { get; set; }
public DateTime? StartDate { get; set; }
public DateTime? EndDate { get; set; }
[Required]
[MaxLength(5)]
[Display(Name = "The primary currency used for targets and stats")]