using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTech.Solution.Api.Common.Attibute { [AttributeUsage(AttributeTargets.Property)] class MaxLengthAttribute:Attribute { public int Length=255; public MaxLengthAttribute(int length) { Length = length; } } }