narsil/Tanshu.Accounts.Contracts/Attributes/FormulaAttribute.cs

25 lines
601 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tanshu.Accounts.Contracts
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class FormulaAttribute : Attribute
{
private string message = string.Empty;
public string Message
{
get { return message; }
set { message = value; }
}
private string formula = string.Empty;
public string Formula
{
get { return formula; }
set { formula = value; }
}
}
}