feature: bulk generate documents for device batches, models and profiles
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
using System;
|
||||
using Disco.Models.UI.Config.Shared;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Disco.Models.UI.Config.DeviceBatch
|
||||
{
|
||||
public interface ConfigDeviceBatchShowModel : BaseUIModel
|
||||
public interface ConfigDeviceBatchShowModel : BaseUIModel, ConfigSharedDeviceGroupDocumentTemplateBulkGenerate
|
||||
{
|
||||
Disco.Models.Repository.DeviceBatch DeviceBatch { get; set; }
|
||||
Repository.DeviceBatch DeviceBatch { get; set; }
|
||||
|
||||
Disco.Models.Repository.DeviceModel DefaultDeviceModel { get; set; }
|
||||
Repository.DeviceModel DefaultDeviceModel { get; set; }
|
||||
|
||||
List<Disco.Models.Repository.DeviceModel> DeviceModels { get; set; }
|
||||
List<Repository.DeviceModel> DeviceModels { get; set; }
|
||||
|
||||
List<ConfigDeviceBatchShowModelMembership> DeviceModelMembers { get; set; }
|
||||
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Disco.Models.UI.Config.Shared;
|
||||
|
||||
namespace Disco.Models.UI.Config.DeviceModel
|
||||
{
|
||||
public interface ConfigDeviceModelShowModel : BaseUIModel
|
||||
public interface ConfigDeviceModelShowModel : BaseUIModel, ConfigSharedDeviceGroupDocumentTemplateBulkGenerate
|
||||
{
|
||||
Disco.Models.Repository.DeviceModel DeviceModel { get; set; }
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
using Disco.Models.BI.Config;
|
||||
using Disco.Models.UI.Config.Shared;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Disco.Models.UI.Config.DeviceProfile
|
||||
{
|
||||
public interface ConfigDeviceProfileShowModel : BaseUIModel
|
||||
public interface ConfigDeviceProfileShowModel : BaseUIModel, ConfigSharedDeviceGroupDocumentTemplateBulkGenerate
|
||||
{
|
||||
Repository.DeviceProfile DeviceProfile { get; set; }
|
||||
OrganisationAddress DefaultOrganisationAddress { get; set; }
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Disco.Models.UI.Config.Shared
|
||||
{
|
||||
public interface ConfigSharedDeviceGroupDocumentTemplateBulkGenerate : BaseUIModel
|
||||
{
|
||||
List<Repository.DocumentTemplate> BulkGenerateDocumentTemplates { get; set; }
|
||||
int DeviceGroupId { get; }
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Disco.Models.UI.Config.Shared
|
||||
namespace Disco.Models.UI.Config.Shared
|
||||
{
|
||||
public interface ConfigSharedTaskStatusModel : BaseUIModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user