Files
Artemis/src/Artemis.Storage/Entities/Profile/LayerEntity.cs
T
2020-02-04 22:01:02 +01:00

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
}
}