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; }
    }
}