using System.Collections.Generic; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.Serialization.Options; namespace ET { public class ServerItemLimitComponent:Entity { [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)] //id,count public Dictionary currentItemCountDic = new(); } }