Multiple settlement options. Upgrade SQL Script included.
This commit is contained in:
@ -1,18 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Tanshu.Accounts.Contracts
|
||||
namespace Tanshu.Accounts.Contracts.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
||||
public class AllowNullAttribute : Attribute
|
||||
{
|
||||
private string message = string.Empty;
|
||||
private string _message = string.Empty;
|
||||
|
||||
public string Message
|
||||
{
|
||||
get { return message; }
|
||||
set { message = value; }
|
||||
get { return _message; }
|
||||
set { _message = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
19
Tanshu.Accounts.Contracts/Attributes/DisplayAttribute.cs
Normal file
19
Tanshu.Accounts.Contracts/Attributes/DisplayAttribute.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace Tanshu.Accounts.Contracts
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
||||
public class DisplayAttribute : Attribute
|
||||
{
|
||||
public DisplayAttribute(string name, bool showInChoices, int group)
|
||||
{
|
||||
Name = name;
|
||||
ShowInChoices = showInChoices;
|
||||
Group = group;
|
||||
}
|
||||
|
||||
public string Name { get; set; }
|
||||
public int Group { get; set; }
|
||||
public bool ShowInChoices { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user