using InABox.Core; namespace Comal.Classes { [UserTracking(typeof(StockMovement))] public class StockArea : Entity, IStockArea, IRemotable, IPersistent, ILicense, IExportable, IImportable { [EditorSequence(4)] [CheckBoxEditor] public bool Active { get; set; } [EditorSequence(1)] [UniqueCodeEditor(Visible = Visible.Default, Editable = Editable.Enabled)] public string Code { get; set; } [EditorSequence(2)] [TextBoxEditor] public string Description { get; set; } [EditorSequence(3)] public StockWarehouseLink Warehouse { get; set; } protected override void Init() { base.Init(); Warehouse = new StockWarehouseLink(); Active = true; } } }