mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using LiteDB;
|
|
|
|
namespace Artemis.Storage.Entities.Profile
|
|
{
|
|
public class LayerEntity
|
|
{
|
|
public LayerEntity()
|
|
{
|
|
Leds = new List<LedEntity>();
|
|
PropertyEntities = new List<PropertyEntity>();
|
|
Condition = new List<ProfileConditionEntity>();
|
|
}
|
|
|
|
public Guid Id { get; set; }
|
|
public Guid ParentId { get; set; }
|
|
|
|
public int Order { get; set; }
|
|
public string Name { get; set; }
|
|
|
|
public List<LedEntity> Leds { get; set; }
|
|
public List<PropertyEntity> PropertyEntities { get; set; }
|
|
public List<ProfileConditionEntity> Condition { get; set; }
|
|
|
|
public ShapeEntityType ShapeType { get; set; }
|
|
public BrushEntity BrushEntity { get; set; }
|
|
|
|
[BsonRef("ProfileEntity")]
|
|
public ProfileEntity Profile { get; set; }
|
|
|
|
public Guid ProfileId { get; set; }
|
|
}
|
|
|
|
public enum ShapeEntityType
|
|
{
|
|
Ellipse,
|
|
Rectangle
|
|
}
|
|
} |