1234567891011121314151617181920212223242526 |
- using System;
- using System.Drawing;
- using Comal.Classes;
- using InABox.Core;
- namespace comal.timesheets
- {
-
- public class AssignmentKanbanDataModel : AssignmentLookupDataModel<Kanban, AssignmentKanbanItem>
- {
- public override Columns<Kanban> Columns => new Columns<Kanban>(x => x.ID)
- .Add(x => x.Number)
- .Add(x => x.Title)
- .Add(x=>x.Description);
- }
-
- public class AssignmentKanbanItem : AssignmentLookupItem
- {
- public override Guid Id => Row.Get<Kanban, Guid>(c => c.ID);
- public override String Number => Row.Get<Kanban, int>(c => c.Number).ToString();
- public override String Name => Row.Get<Kanban, String>(c => c.Title);
- public override String Description => CoreUtils.StripHTML(Row.Get<Kanban, String>(c => c.Description));
- }
-
- }
|