QuoteContractProposal.cs 740 B

12345678910111213141516171819202122232425
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. [UserTracking(typeof(Quote))]
  5. public class QuoteContractProposal : Entity, IRemotable, IPersistent, IQuoteContractProposal, IManyToMany<QuoteContract, QuoteProposal>,
  6. ILicense<QuotesManagementLicense>
  7. {
  8. [EntityRelationship(DeleteAction.Cascade)]
  9. public QuoteContractLink Contract { get; set; }
  10. [EntityRelationship(DeleteAction.Cascade)]
  11. public QuoteProposalLink Proposal { get; set; }
  12. [NullEditor]
  13. public long Sequence { get; set; }
  14. protected override void Init()
  15. {
  16. base.Init();
  17. Contract = new QuoteContractLink();
  18. Proposal = new QuoteProposalLink();
  19. }
  20. }
  21. }