using InABox.Core; namespace Comal.Classes { public abstract class BaseIntegrationSource : Entity, IRemotable, IPersistent, IOneToMany where TEntity : Entity where TLink : IEntityLink { [NullEditor] [EntityRelationship(DeleteAction.Cascade)] public TLink Entity { get; set; } [EditorSequence(1)] [EnumLookupEditor(typeof(IntegrationSourceType), Visible = Visible.Default, Width = 100)] public IntegrationSourceType Source { get; set; } [EditorSequence(2)] [TextBoxEditor] public string? Code { get; set; } } }