2011-01-31 20:33:22 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Tanshu.Accounts.Contracts
|
|
|
|
|
{
|
|
|
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
2011-02-18 16:54:48 +00:00
|
|
|
|
public class NotNullAttribute : Attribute
|
2011-01-31 20:33:22 +00:00
|
|
|
|
{
|
|
|
|
|
private string message = string.Empty;
|
|
|
|
|
public string Message
|
|
|
|
|
{
|
|
|
|
|
get { return message; }
|
|
|
|
|
set { message = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|