#34 Feature: Detailed Device Exporting
Many additional device properties are available to export. The previous export configuration is remembered.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Disco.Models.Services.Devices.Exporting;
|
||||
using Disco.Models.UI.Device;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Disco.Web.Models.Device
|
||||
{
|
||||
public class ExportModel : DeviceExportModel
|
||||
{
|
||||
public DeviceExportOptions Options { get; set; }
|
||||
|
||||
public string DownloadExportSessionId { get; set; }
|
||||
|
||||
public IEnumerable<KeyValuePair<int, string>> DeviceBatches { get; set; }
|
||||
public IEnumerable<KeyValuePair<int, string>> DeviceModels { get; set; }
|
||||
public IEnumerable<KeyValuePair<int, string>> DeviceProfiles { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -2,12 +2,14 @@
|
||||
using Disco.Models.Services.Jobs.JobLists;
|
||||
using Disco.Models.UI.Search;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Disco.Web.Models.Search
|
||||
{
|
||||
public class QueryModel : SearchQueryModel
|
||||
{
|
||||
public string FriendlyTerm { get; set; }
|
||||
[Required, MinLength(2)]
|
||||
public string Term { get; set; }
|
||||
public bool Success { get; set; }
|
||||
public string ErrorMessage { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user