ForeignCurrency.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. public class ForeignCurrency : Entity, IRemotable, IPersistent, IForeignCurrency, ILicense<CoreLicense>
  5. {
  6. [UniqueCodeEditor(Visible = Visible.Default, Editable = Editable.Enabled)]
  7. [EditorSequence(1)]
  8. public string Code { get; set; }
  9. [TextBoxEditor]
  10. [EditorSequence(2)]
  11. public string Description { get; set; }
  12. [Caption("ISO Code")]
  13. [TextBoxEditor(Visible = Visible.Optional, Width=150)]
  14. [EditorSequence(3)]
  15. public string Identifier { get; set; }
  16. [Caption("Display")]
  17. [TextBoxEditor(Width=150)]
  18. [EditorSequence(4)]
  19. public string Symbol { get; set; }
  20. [Caption("Rate")]
  21. [DoubleEditor(Digits=4)]
  22. [EditorSequence(4)]
  23. public double ExchangeRate { get; set; }
  24. [CheckBoxEditor(Visible=Visible.Hidden, Editable = Editable.Enabled)]
  25. [EditorSequence(5)]
  26. public bool Active { get; set; }
  27. }
  28. }