You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
348 B
16 lines
348 B
using System;
|
|
|
|
namespace Apewer.Source
|
|
{
|
|
|
|
/// <summary>字段不能是 NULL 值。</summary>
|
|
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
|
|
public sealed class NotNullAttribute : Attribute
|
|
{
|
|
|
|
/// <summary></summary>
|
|
public override string ToString() => "Not Null";
|
|
|
|
}
|
|
|
|
}
|
|
|