using System; using System.Drawing; using Comal.Classes; using InABox.Core; namespace comal.timesheets { public class AssignmentKanbanDataModel : AssignmentLookupDataModel { public override Columns Columns => new Columns(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(c => c.ID); public override String Number => Row.Get(c => c.Number).ToString(); public override String Name => Row.Get(c => c.Title); public override String Description => CoreUtils.StripHTML(Row.Get(c => c.Description)); } }