12345678910111213141516171819202122232425262728 |
- using InABox.Core;
- namespace Comal.Classes
- {
- [UserTracking(typeof(Product))]
- public class GLCode : Entity, IRemotable, IPersistent, ILicense<CoreLicense>, IExportable, IImportable, IMergeable
- {
- [UniqueCodeEditor(Visible = Visible.Default, Editable = Editable.Enabled)]
- public string Code { get; set; }
- [TextBoxEditor]
- public string Description { get; set; }
- [CheckBoxEditor]
- public bool Income { get; set; }
- [CheckBoxEditor]
- public bool Expense { get; set; }
- [CheckBoxEditor]
- public bool Hidden { get; set; }
- public override string ToString()
- {
- return string.Format("{0}: {1}", Code, Description);
- }
- }
- }
|