using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeanCloud { /// /// 事件流系统中的一条状态 /// [AVClassName("_Status")] public class AVStatus : AVObject { private static readonly HashSet readOnlyKeys = new HashSet { "messageId", "inboxType", "data","Source" }; protected override bool IsKeyMutable(string key) { return !readOnlyKeys.Contains(key); } } }