19 lines
431 B
C#
19 lines
431 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Tanshu.Accounts.Contracts
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
|
public class NotNullAttribute : Attribute
|
|
{
|
|
private string message = string.Empty;
|
|
public string Message
|
|
{
|
|
get { return message; }
|
|
set { message = value; }
|
|
}
|
|
}
|
|
}
|