using System; using InABox.Core; namespace Comal.Classes { public class JobBillOfMaterials : Entity, IRemotable, IPersistent, IOneToMany, ISequenceable, ILicense { [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 = ""; } } }