123456789101112131415161718192021222324252627282930 |
- using InABox.Core;
- namespace Comal.Classes
- {
- [UserTracking(typeof(Quote))]
- public class QuoteDesignItem : Entity, IRemotable, IPersistent, ISequenceable, IManyToMany<QuoteDesign, QuoteTakeoff>,
- ILicense<QuotesManagementLicense>
- {
- [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();
- }
- }
- }
|