da929ad036
Breaking Change: Renamed Discontinued to IsActive and added NA field to products. Cleanup: Removed not used attributes Change: RoleConstants changed to simple string Feature: Table Create/Edit/Reorder and Modifier Create/Edit Form Feature: Bills now show the Tax name from the database and not a hack
19 lines
508 B
C#
19 lines
508 B
C#
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; }
|
|
}
|
|
} |