This commit is contained in:
2020-05-22 14:06:30 +00:00
parent 99d2939117
commit bbc4a432a7
4 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace AyaNova.Models
{
@@ -8,17 +9,16 @@ namespace AyaNova.Models
public uint Concurrency { get; set; }
public DateTime BackupTime { get; set; }
public int BackupSetsToKeep { get; set; }
public bool BackupAttachments { get; set; }
[NotMapped]
public DateTime LastBackup { get; set; }
public GlobalOpsBackupSettings()
{
Id = 1;//always 1
BackupTime = new DateTime(2020, 5, 19, 23, 59, 0, DateTimeKind.Local).ToUniversalTime();//date doesn't matter it only uses hour
BackupSetsToKeep = 3;
}
}
}