using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeanCloud { /// /// Specifies a field name for a property on a AVObject subclass. /// [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)] public sealed class AVFieldNameAttribute : Attribute { /// /// Constructs a new AVFieldName attribute. /// /// The name of the field on the AVObject that the /// property represents. public AVFieldNameAttribute(string fieldName) { FieldName = fieldName; } /// /// Gets the name of the field represented by this property. /// public string FieldName { get; private set; } } }