Qualification.cs 765 B

12345678910111213141516171819202122232425
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. [UserTracking("Qualifications & Tickets")]
  5. public class Qualification : Entity, IRemotable, IPersistent, IQualification, ILicense<HumanResourcesLicense>, IExportable, IImportable,
  6. IMergeable
  7. {
  8. [TextBoxEditor(Visible = Visible.Default)]
  9. public string Description { get; set; }
  10. [EnumLookupEditor(typeof(QualificationRenewal), Visible = Visible.Optional)]
  11. public QualificationRenewal Renewal { get; set; }
  12. [IntegerEditor(Visible = Visible.Optional)]
  13. public int Period { get; set; }
  14. protected override void Init()
  15. {
  16. base.Init();
  17. Period = 0;
  18. Renewal = QualificationRenewal.Manual;
  19. }
  20. }
  21. }