CompanyInformation.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. namespace InABox.Core
  2. {
  3. [UserTracking(typeof(User))]
  4. public class CompanyInformation : Entity, IRemotable, IPersistent, ILicense<CoreLicense>
  5. {
  6. [TextBoxEditor]
  7. [EditorSequence(1)]
  8. [Caption("Name")]
  9. public string CompanyName { get; set; }
  10. [CodeEditor(Editable = Editable.Enabled)]
  11. [EditorSequence(2)]
  12. public string ABN { get; set; }
  13. [TextBoxEditor]
  14. [EditorSequence(3)]
  15. public string Telephone { get; set; }
  16. [TextBoxEditor]
  17. [EditorSequence(4)]
  18. public string Email { get; set; }
  19. [EditorSequence(5)]
  20. [Caption("Logo")]
  21. public ImageDocumentLink Logo { get; set; }
  22. [EditorSequence("Postal Address", 1)]
  23. [Caption("")]
  24. public Address PostalAddress { get; set; }
  25. [EditorSequence("Delivery Address", 1)]
  26. [Caption("")]
  27. public Address DeliveryAddress { get; set; }
  28. [MemoEditor]
  29. [EditorSequence("Invoice Note", 1)]
  30. [Caption("")]
  31. public string InvoiceNote { get; set; }
  32. [MemoEditor]
  33. [EditorSequence("Purchase Note", 2)]
  34. [Caption("")]
  35. public string PurchaseNote { get; set; }
  36. }
  37. }