Feature #26: User Flags
Flags can be associated with Users. Includes minor updates to Job Queues and improved visibility of user information.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Disco.Models.Repository;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -17,16 +18,22 @@ namespace Disco.Models.Services.Searching
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
public string FriendlyId { get; set; }
|
||||
public string Type { get { return type; } }
|
||||
public string Description { get { return string.Format("{0} ({1})", this.DisplayName, this.Id); } }
|
||||
public string[] ScoreValues { get { return LazyScoreValue.Value; } }
|
||||
|
||||
public int AssignedDevicesCount { get; set; }
|
||||
public string DisplayName { get; set; }
|
||||
public string GivenName { get; set; }
|
||||
public int JobCount { get; set; }
|
||||
public string Surname { get; set; }
|
||||
|
||||
public int AssignedDevicesCount { get; set; }
|
||||
|
||||
public int JobCount { get; set; }
|
||||
public int JobCountOpen { get; set; }
|
||||
|
||||
public IList<UserFlagAssignment> UserFlagAssignments { get; set; }
|
||||
|
||||
private string[] BuildScoreValues()
|
||||
{
|
||||
return new string[] {
|
||||
|
||||
Reference in New Issue
Block a user