12345678910111213141516171819202122232425262728293031 |
- using InABox.Core;
- namespace Comal.Classes
- {
- [UserTracking(typeof(Quote))]
- public class CostSheetKit : Entity, IPersistent, IRemotable, ISequenceable, IOneToMany<CostSheetSection>, IOneToMany<CostSheet>,
- ILicense<QuotesManagementLicense>
- {
- [EntityRelationship(DeleteAction.Cascade)]
- public CostSheetLink CostSheet { get; set; }
- [EntityRelationship(DeleteAction.SetNull)]
- public CostSheetSectionLink Section { get; set; }
- [EntityRelationship(DeleteAction.SetNull)]
- public KitLink Kit { get; set; }
- [NullEditor]
- public long Sequence { get; set; }
- protected override void Init()
- {
- base.Init();
- CostSheet = new CostSheetLink();
- Section = new CostSheetSectionLink();
- Kit = new KitLink();
- }
- }
- }
|