feat(dui3): adds layer concept in core as a poc

This commit is contained in:
Dimitrie Stefanescu
2024-07-16 14:49:37 +01:00
parent 82b7ca1a26
commit fe27951d96
2 changed files with 11 additions and 1 deletions
+2 -1
View File
@@ -33,8 +33,9 @@ public class Collection : Base
public string name { get; set; }
/// <summary>
/// The type of this collection
/// The type of this collection. Note: Claire and Dim would propose we deprecate this prop. Do not use, please!
/// </summary>
[Obsolete("Note: Claire and Dim would propose we deprecate this prop. Do not use, please! Let's have a discussion about subclassing for your needs if nothing exists already.")]
public string collectionType { get; set; }
/// <summary>
+9
View File
@@ -0,0 +1,9 @@
namespace Speckle.Core.Models;
/// <summary>
/// A specialized collection that represents a CAD-app layer. We expect this to grow in the future with possibly other shared props.
/// </summary>
public class Layer : Collection
{
public int Color { get; set; }
}