using InABox.Core; namespace Comal.Classes { [Caption("Manufacturing Sections")] [UserTracking(typeof(ManufacturingPacket))] public class ManufacturingSection : Entity, IRemotable, IPersistent, IOneToMany, ISequenceable, ILicense { [EntityRelationship(DeleteAction.Cascade)] public ManufacturingFactoryLink Factory { get; set; } [TextBoxEditor] public string Name { get; set; } public int Stations { get; set; } = 1; public bool Shared { get; set; } = false; public bool Hidden { get; set; } [NullEditor] public string QualityChecks { get; set; } public QAFormLink QAForm { get; set; } public ActivityLink Activity { get; set; } [NullEditor] public long Sequence { get; set; } //[NullEditor] //public string QAData { get; set; } public override string ToString() { return string.Format("{0}: {1}", Factory.Name, Name); } } }