using System; namespace Apewer.Source { /// 字段不能是 NULL 值。 [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public sealed class NotNullAttribute : Attribute { /// public override string ToString() => "Not Null"; } }