Feature: Document Template Packages
Document Templates can be grouped into a package and generated on-demand in the same was as individual document templates. Packages can be generated in bulk.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using Disco.Data.Repository;
|
||||
using Disco.Models.Services.Documents;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Disco.Data.Configuration.Modules
|
||||
{
|
||||
public class DocumentsConfiguration : ConfigurationBase
|
||||
{
|
||||
public DocumentsConfiguration(DiscoDataContext Database) : base(Database) { }
|
||||
|
||||
public override string Scope { get { return "Documents"; } }
|
||||
|
||||
public List<DocumentTemplatePackage> Packages
|
||||
{
|
||||
get { return Get<List<DocumentTemplatePackage>>(null); }
|
||||
set { Set(value); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user