| 1234567891011121314151617181920212223242526272829 | using System;using InABox.Core;namespace Comal.Classes{    [Caption("Treatments")]    [UserTracking(typeof(ManufacturingPacket))]    public class ManufacturingTreatment : Entity, IRemotable, IPersistent, IOneToMany<ManufacturingPacket>, ILicense<ManufacturingLicense>    {        [EntityRelationship(DeleteAction.Cascade)]        public ManufacturingPacketLink Packet { get; set; }        [EditorSequence(3)]        public ProductLink Product { get; set; }        [DoubleEditor]        public double Parameter { get; set; }        [TimestampEditor]        public DateTime Applied { get; set; }        protected override void Init()        {            base.Init();            Product = new ProductLink(() => this);            Packet = new ManufacturingPacketLink();        }    }}
 |