| 12345678910111213141516171819202122232425262728293031323334353637383940 | using System;using InABox.Core;namespace Comal.Classes{    public class StockLocationLink : EntityLink<StockLocation>, IStockLocation    {                public StockLocationLink() : this(null)        {        }        public StockLocationLink(Func<BaseObject>? entity) : base(entity)        {        }                public StockAreaLink Area { get; set; }        [CodePopupEditor(typeof(StockLocation))]        public override Guid ID { get; set; }        [CodeEditor(Visible = Visible.Default, Editable = Editable.Hidden)]        public string Code { get; set; }        [TextBoxEditor(Editable = Editable.Hidden)]        public string Description { get; set; }        public JobLink Job { get; set; }        [NullEditor]        public bool Active { get; set; }        protected override void Init()        {            base.Init();            Area = new StockAreaLink();            Job = new JobLink();        }    }}
 |