31 lines
851 B
C#
31 lines
851 B
C#
using Core.Blueprint.Mongo;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Core.Adapters.Lib
|
|
{
|
|
[CollectionAttributeName("FurnitureVariants")]
|
|
public class FurnitureVariant : InventoryItem
|
|
{
|
|
[BsonElement("modelId")]
|
|
[JsonPropertyName("modelId")]
|
|
public string ModelId { get; set; } = null!;
|
|
|
|
[BsonElement("name")]
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = null!;
|
|
|
|
[BsonElement("color")]
|
|
[JsonPropertyName("color")]
|
|
public string Color { get; set; } = null!;
|
|
|
|
[BsonElement("line")]
|
|
[JsonPropertyName("line")]
|
|
public string Line { get; set; } = null!;
|
|
|
|
[BsonElement("icon")]
|
|
[JsonPropertyName("icon")]
|
|
public string Icon { get; set; } = null!;
|
|
}
|
|
}
|