diff --git a/src/Speckle.Core/Models/Collection.cs b/src/Speckle.Core/Models/Collection.cs index c5d45436..6f9f315a 100644 --- a/src/Speckle.Core/Models/Collection.cs +++ b/src/Speckle.Core/Models/Collection.cs @@ -33,8 +33,11 @@ public Collection(string name, string collectionType) public string name { get; set; } /// - /// The type of this collection + /// The type of this collection. Note: Claire and Dim would propose we deprecate this prop. Do not use, please! /// + [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; } /// diff --git a/src/Speckle.Core/Models/Layer.cs b/src/Speckle.Core/Models/Layer.cs new file mode 100644 index 00000000..88ebf9e8 --- /dev/null +++ b/src/Speckle.Core/Models/Layer.cs @@ -0,0 +1,9 @@ +namespace Speckle.Core.Models; + +/// +/// A specialized collection that represents a CAD-app layer. We expect this to grow in the future with possibly other shared props. +/// +public class Layer : Collection +{ + public int Color { get; set; } +}