123456789101112131415161718192021222324252627282930313233 |
- using InABox.Core;
- namespace Comal.Classes
- {
- public abstract class BaseIntegrationCode<TEntity, TLink> : BaseObject
- where TEntity : Entity, IRemotable, IPersistent, new()
- where TLink : EntityLink<TEntity>
- {
- /// <summary>
- /// Code as it comes from the Integration Package
- /// </summary>
- [EditorSequence(1)]
- [CodeEditor(Visible = Visible.Default, Editable = Editable.Disabled)]
- public string Code { get; set; } = string.Empty;
- /// <summary>
- /// Description as it comes from the Integration Package
- /// </summary>
- [EditorSequence(2)]
- [TextBoxEditor(Visible = Visible.Default, Editable = Editable.Disabled)]
- public string Description { get; set; } = string.Empty;
- /// <summary>
- /// Mapped Item in PRS
- /// </summary>
- [EditorSequence(3)]
- [RequiredColumn]
- public TLink Entity { get; set; }
- }
-
- }
|