1234567891011121314151617181920212223242526272829 |
- using System;
- using InABox.Core;
- namespace Comal.Classes
- {
- public interface IEmployeeGroupLink
- {
- Guid ID { get; set; }
- string Code { get; set; }
- string Description { get; set; }
- }
- public class EmployeeGroupLink : EntityLink<EmployeeGroup>, IEmployeeGroupLink
- {
- [LookupEditor(typeof(EmployeeGroup))]
- public override Guid ID { get; set; }
- [CodeEditor(Visible = Visible.Default, Editable = Editable.Hidden)]
- public string Code { get; set; }
- [TextBoxEditor(Editable = Editable.Hidden)]
- public string Description { get; set; }
- public override string ToString()
- {
- return string.Format("{0}: {1}", Code, Description);
- }
- }
- }
|