using InABox.Core; namespace Comal.Classes { [UserTracking(typeof(Quote))] public class QuoteDesignItem : Entity, IRemotable, IPersistent, ISequenceable, IManyToMany, ILicense { [NullEditor] [EntityRelationship(DeleteAction.Cascade)] public QuoteDesignLink Design { get; set; } [EntityRelationship(DeleteAction.Cascade)] public QuoteTakeoffLink Takeoff { get; set; } [EntityRelationship(DeleteAction.SetNull)] public QuoteDesignSectionLink Section { get; set; } [NullEditor] public long Sequence { get; set; } protected override void Init() { base.Init(); Design = new QuoteDesignLink(); Takeoff = new QuoteTakeoffLink(); Section = new QuoteDesignSectionLink(); } } }