12345678910111213141516171819202122232425262728293031323334353637 |
- using InABox.Core;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Comal.Classes
- {
- public class BillApprovalSet : Entity, IRemotable, IPersistent, ILicense<AccountsPayableLicense>
- {
- [UniqueCodeEditor]
- [EditorSequence(1)]
- public string Code { get; set; }
- [EditorSequence(2)]
- public string Description { get; set; }
- [EditorSequence(3)]
- [Editable(Editable.Hidden)]
- public bool IsDefault { get; set; }
- static BillApprovalSet()
- {
- DefaultColumns.Add<BillApprovalSet>(x => x.Code);
- DefaultColumns.Add<BillApprovalSet>(x => x.Description);
- }
- }
- public class BillApprovalSetLink : EntityLink<BillApprovalSet>
- {
- [LookupEditor(typeof(BillApprovalSet))]
- public override Guid ID { get; set; }
- public string Code { get; set; }
- public string Description { get; set; }
- }
- }
|