bulk generation refactoring
This commit is contained in:
@@ -1,8 +1,22 @@
|
||||
namespace Disco.Models.UI.Config.DocumentTemplate
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Disco.Models.UI.Config.DocumentTemplate
|
||||
{
|
||||
public interface ConfigDocumentTemplateBulkGenerate : BaseUIModel
|
||||
{
|
||||
Repository.DocumentTemplate DocumentTemplate { get; set; }
|
||||
int TemplatePageCount { get; set; }
|
||||
|
||||
List<ItemWithCount<Repository.UserFlag>> UserFlags { get; set; }
|
||||
List<ItemWithCount<Repository.DeviceProfile>> DeviceProfiles { get; set; }
|
||||
List<ItemWithCount<Repository.DeviceBatch>> DeviceBatches { get; set; }
|
||||
List<ItemWithCount<Repository.DocumentTemplate>> DocumentTemplates { get; set; }
|
||||
List<ItemWithCount<string>> UserDetails { get; set; }
|
||||
}
|
||||
|
||||
public class ItemWithCount<T>
|
||||
{
|
||||
public T Item { get; set; }
|
||||
public int Count { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user