1234567891011121314151617181920212223242526 |
- using InABox.Core;
- namespace Comal.Classes
- {
- [UserTracking(typeof(Employee))]
- [Caption("Position")]
- public class EmployeePosition : Entity, IPersistent, IRemotable, IOrgChart<EmployeePositionLink>, ILicense<HumanResourcesLicense>, IExportable,
- IImportable, IMergeable
- {
- [EditorSequence(1)]
- [UniqueCodeEditor(Visible = Visible.Default, Editable = Editable.Enabled)]
- public string Code { get; set; }
- [EditorSequence(2)]
- [TextBoxEditor]
- public string Description { get; set; }
- public OrgChartSettings<EmployeePositionLink> OrgChart { get; set; }
- protected override void Init()
- {
- base.Init();
- OrgChart = new OrgChartSettings<EmployeePositionLink>();
- }
- }
- }
|