mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
24 lines
624 B
C#
24 lines
624 B
C#
using System;
|
|
using Artemis.Core.Modules;
|
|
using Artemis.Storage.Entities.Profile;
|
|
|
|
namespace Artemis.Core
|
|
{
|
|
public class ProfileDescriptor
|
|
{
|
|
internal ProfileDescriptor(ProfileModule profileModule, ProfileEntity profileEntity)
|
|
{
|
|
ProfileModule = profileModule;
|
|
|
|
Id = profileEntity.Id;
|
|
Name = profileEntity.Name;
|
|
IsLastActiveProfile = profileEntity.IsActive;
|
|
}
|
|
|
|
public bool IsLastActiveProfile { get; set; }
|
|
|
|
public Guid Id { get; }
|
|
public ProfileModule ProfileModule { get; }
|
|
public string Name { get; }
|
|
}
|
|
} |