123456789101112131415161718192021222324252627282930 |
- using InABox.Core;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Comal.Classes
- {
- public class BillApproval : Entity, ISequenceable, IRemotable, IPersistent, IOneToMany<Bill>, ILicense<AccountsPayableLicense>
- {
- [EditorSequence(1)]
- public EmployeeLink Employee { get; set; }
- [NullEditor]
- public BillLink Bill { get; set; }
- [EditorSequence(2)]
- public DateTime Approved { get; set; }
- [NullEditor]
- public long Sequence { get; set; }
- static BillApproval()
- {
- DefaultColumns.Add<BillApproval>(x => x.Bill.Number);
- DefaultColumns.Add<BillApproval>(x => x.Employee.Code);
- DefaultColumns.Add<BillApproval>(x => x.Employee.Name);
- DefaultColumns.Add<BillApproval>(x => x.Approved);
- }
- }
- }
|