123456789101112131415161718192021222324252627282930313233 |
- using System;
- using InABox.Core;
- namespace Comal.Classes
- {
- public class JobBillOfMaterials : Entity, IRemotable, IPersistent, IOneToMany<Job>, ISequenceable, ILicense<ProjectManagementLicense>
- {
- [NullEditor]
- [EntityRelationship(DeleteAction.Cascade)]
- public JobLink Job { get; set; }
- [EditorSequence(1)]
- public string Description { get; set; }
- [TimestampEditor]
- [EditorSequence(2)]
- [LoggableProperty]
- public DateTime Approved { get; set; }
- [NullEditor]
- public long Sequence { get; set; }
- [MemoEditor]
- public string Notes { get; set; }
- protected override void Init()
- {
- base.Init();
- Job = new JobLink();
- Notes = "";
- }
- }
- }
|