Feature #67: Advanced document template events

OnGenerated and OnImportAttachment allow advanced users to enter
expressions which will be evaluated whenever these document
template/importing events are triggered. This enables greater
automation.
This commit is contained in:
Gary Sharp
2014-07-26 20:02:59 +10:00
parent c528a2be26
commit 1cc7e94646
32 changed files with 2179 additions and 1474 deletions
@@ -20,14 +20,14 @@ namespace Disco.Models.Repository
[Required, StringLength(10)]
public string ShortName { get; set; }
[StringLength(500)]
[StringLength(500), DataType(DataType.MultilineText)]
public string Description { get; set; }
public int? DefaultOrganisationAddress { get; set; }
// Migration from DeviceProfile Configuration
// 2012-06-14 G#
[Required]
[Required, DataType(DataType.MultilineText)]
public string ComputerNameTemplate { get; set; }
[Required]