| 1234567891011121314151617181920212223242526272829 | using InABox.Core;namespace Comal.Classes{    [UserTracking(typeof(Product))]    public class CostCentre : Entity, IRemotable, IPersistent, ILicense<ProductManagementLicense>, IExportable, IImportable, IMergeable    {        [UniqueCodeEditor(Visible = Visible.Default, Editable = Editable.Enabled)]        public string Code { get; set; }        [TextBoxEditor]        public string Description { get; set; }        public TaxCodeLink TaxCode { get; set; }        public bool Hidden { get; set; }        public override string ToString()        {            return string.Format("{0}: {1}", Code, Description);        }        protected override void Init()        {            base.Init();            TaxCode = new TaxCodeLink(() => this);        }    }}
 |