1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- namespace InABox.Core
- {
- [UserTracking(typeof(User))]
- public class CompanyInformation : Entity, IRemotable, IPersistent, ILicense<CoreLicense>
- {
- [TextBoxEditor]
- [EditorSequence(1)]
- [Caption("Name")]
- public string CompanyName { get; set; }
- [CodeEditor(Editable = Editable.Enabled)]
- [EditorSequence(2)]
- public string ABN { get; set; }
- [TextBoxEditor]
- [EditorSequence(3)]
- public string Telephone { get; set; }
- [TextBoxEditor]
- [EditorSequence(4)]
- public string Email { get; set; }
- [EditorSequence(5)]
- [Caption("Logo")]
- public ImageDocumentLink Logo { get; set; }
- [EditorSequence("Postal Address", 1)]
- [Caption("")]
- public Address PostalAddress { get; set; }
- [EditorSequence("Delivery Address", 1)]
- [Caption("")]
- public Address DeliveryAddress { get; set; }
- [MemoEditor]
- [EditorSequence("Invoice Note", 1)]
- [Caption("")]
- public string InvoiceNote { get; set; }
- [MemoEditor]
- [EditorSequence("Purchase Note", 2)]
- [Caption("")]
- public string PurchaseNote { get; set; }
- protected override void Init()
- {
- base.Init();
- PostalAddress = new Address();
- DeliveryAddress = new Address();
- Logo = new ImageDocumentLink();
- }
- }
- }
|