QuoteProposalLink.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using InABox.Core;
  3. namespace Comal.Classes
  4. {
  5. public class QuoteProposalLink : EntityLink<QuoteProposal>, IQuoteProposal
  6. {
  7. [NullEditor]
  8. public override Guid ID { get; set; }
  9. [NullEditor]
  10. public QuoteLink Quote { get; set; }
  11. [DateEditor(Visible = Visible.Default, Editable = Editable.Hidden)]
  12. public DateTime Date { get; set; }
  13. [TextBoxEditor(Visible = Visible.Default, Editable = Editable.Hidden)]
  14. public string Description { get; set; }
  15. [CurrencyEditor(Editable = Editable.Hidden, Summary = Summary.Sum)]
  16. [Aggregate(typeof(QuoteProposalExTax))]
  17. public double ProposalExTax { get; set; }
  18. [CurrencyEditor(Editable = Editable.Hidden, Summary = Summary.Sum)]
  19. [Aggregate(typeof(QuoteProposalTax))]
  20. public double ProposalTax { get; set; }
  21. [CurrencyEditor(Visible = Visible.Default, Editable = Editable.Hidden, Summary = Summary.Sum)]
  22. [Aggregate(typeof(QuoteProposalIncTax))]
  23. public double ProposalIncTax { get; set; }
  24. [CheckBoxEditor(Visible = Visible.Optional, Editable = Editable.Hidden)]
  25. public bool Default { get; set; }
  26. [NullEditor]
  27. public long Sequence { get; set; }
  28. }
  29. }