using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Umbraco.Core.Models { public class InstallLog { public Guid InstallId { get; } public bool IsUpgrade { get; set; } public bool InstallCompleted { get; set; } public DateTime Timestamp { get; set; } public int VersionMajor { get; } public int VersionMinor { get; } public int VersionPatch { get; } public string VersionComment { get; } public string Error { get; } public string UserAgent { get; } public string DbProvider { get; set; } public InstallLog(Guid installId, bool isUpgrade, bool installCompleted, DateTime timestamp, int versionMajor, int versionMinor, int versionPatch, string versionComment, string error, string userAgent, string dbProvider) { InstallId = installId; IsUpgrade = isUpgrade; InstallCompleted = installCompleted; Timestamp = timestamp; VersionMajor = versionMajor; VersionMinor = versionMinor; VersionPatch = versionPatch; VersionComment = versionComment; Error = error; UserAgent = userAgent; DbProvider = dbProvider; } } }