mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
19 lines
493 B
C#
19 lines
493 B
C#
namespace Artemis.Storage.Legacy.Entities.General;
|
|
|
|
internal class ReleaseEntity
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public string Version { get; set; } = string.Empty;
|
|
public DateTimeOffset? InstalledAt { get; set; }
|
|
|
|
public Storage.Entities.General.ReleaseEntity Migrate()
|
|
{
|
|
return new Storage.Entities.General.ReleaseEntity()
|
|
{
|
|
Id = Id,
|
|
Version = Version,
|
|
InstalledAt = InstalledAt ?? DateTimeOffset.Now
|
|
};
|
|
}
|
|
} |