Feature: Device Importing & Exporting
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Disco.Models.UI.Device;
|
||||
using Disco.Models.Repository;
|
||||
using Disco.Models.UI.Device;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
@@ -9,7 +10,11 @@ namespace Disco.Web.Models.Device
|
||||
{
|
||||
public class ImportModel : DeviceImportModel
|
||||
{
|
||||
[Required, Display(Name="Import File")]
|
||||
[Required, Display(Name="CSV Import File")]
|
||||
public HttpPostedFileBase ImportFile { get; set; }
|
||||
|
||||
public List<DeviceModel> DeviceModels { get; set; }
|
||||
public List<DeviceProfile> DeviceProfiles { get; set; }
|
||||
public List<DeviceBatch> DeviceBatches { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user