aca037ecf8
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.
20 lines
557 B
C#
20 lines
557 B
C#
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); }
|
|
}
|
|
}
|
|
}
|