JobScopeCostCentre.cs 824 B

123456789101112131415161718192021222324252627282930
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. public class JobScopeCostCentre : Entity, IRemotable, IPersistent, IOneToMany<Job>, IOneToMany<JobScope>, ILicense<ProjectManagementLicense>
  5. {
  6. [NullEditor]
  7. [EntityRelationship(DeleteAction.Cascade)]
  8. public JobLink Job { get; set; }
  9. [NullEditor]
  10. [EntityRelationship(DeleteAction.Cascade)]
  11. public JobScopeLink Scope { get; set; }
  12. [EditorSequence(1)]
  13. [EntityRelationship(DeleteAction.SetNull)]
  14. public CostCentreLink CostCentre { get; set; }
  15. [EditorSequence(2)]
  16. public double Cost { get; set; }
  17. [EditorSequence(3)]
  18. public double Markup { get; set; }
  19. [EditorSequence(4)]
  20. public double Sell { get; set; }
  21. }
  22. }