using InABox.Clients; using System; using System.Collections.Generic; using System.Reflection; namespace InABox.Core { public class DataModelTemplate : Entity, IRemotable, IPersistent, ISequenceable, ILicense { [TextBoxEditor(Visible = Core.Visible.Hidden, Editable = Editable.Hidden)] public string Model { get; set; } [EditorSequence(1)] [TextBoxEditor] public string Name { get; set; } [EditorSequence(2)] [ExpressionEditor(null, Editable = Editable.Enabled)] public string To { get; set; } [EditorSequence(3)] [ExpressionEditor(null, Editable = Editable.Enabled)] public string CC { get; set; } [EditorSequence(4)] [ExpressionEditor(null, Editable = Editable.Enabled)] public string BCC { get; set; } [EditorSequence(5)] [ExpressionEditor(null, Editable = Editable.Enabled)] public string Subject { get; set; } [EditorSequence(6)] [ExpressionEditor(null, Editable = Editable.Enabled)] public string AttachmentName { get; set; } [EditorSequence(7)] [ScriptEditor(SyntaxLanguage.HTML, Editable = Editable.Enabled)] public string Template { get; set; } [EditorSequence(8)] [CheckBoxEditor] public bool Visible { get; set; } [EditorSequence(9)] [CheckBoxEditor] public bool Default { get; set; } [NullEditor] public long Sequence { get; set; } } }