using Fantasy.Entitas; using Fantasy.Entitas.Interface; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.Serialization.Options; namespace Fantasy; public class BagComponent : Entity, ISupportedDataBase { [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)] public Dictionary Items = new Dictionary(); }