cd31ba4a6c
Device/Job/User Search refactoring. Quick-Search implemented.
40 lines
1.3 KiB
C#
40 lines
1.3 KiB
C#
using Disco.Models.Services.Searching;
|
|
using System;
|
|
|
|
namespace Disco.Models.Services.Jobs.JobLists
|
|
{
|
|
public class JobTableItemModel : JobSearchResultItem
|
|
{
|
|
public int JobId { get; set; }
|
|
|
|
[Obsolete("Use [int] JobId instead")]
|
|
public override string Id
|
|
{
|
|
get
|
|
{
|
|
return this.JobId.ToString();
|
|
}
|
|
set
|
|
{
|
|
base.Id = value;
|
|
this.JobId = int.Parse(value);
|
|
}
|
|
}
|
|
public DateTime OpenedDate { get; set; }
|
|
public DateTime? ClosedDate { get; set; }
|
|
public string JobTypeId { get; set; }
|
|
public string JobTypeDescription { get; set; }
|
|
public int? DeviceModelId { get; set; }
|
|
public string DeviceModelDescription { get; set; }
|
|
public int? DeviceProfileId { get; set; }
|
|
public int? DeviceAddressId { get; set; }
|
|
public string DeviceAddress { get; set; }
|
|
public string OpenedTechUserId { get; set; }
|
|
public string OpenedTechUserDisplayName { get; set; }
|
|
public string StatusDescription { get; set; }
|
|
public string StatusId { get; set; }
|
|
public string DeviceHeldLocation { get; set; }
|
|
public Disco.Models.Repository.Job.UserManagementFlags? Flags { get; set; }
|
|
}
|
|
}
|