Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Contracts.Enumerations;
- using Contracts.Interfaces;
- using Contracts.Interfaces.Templating;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- namespace Contracts.Models
- {
- public class Message
- {
- /// <summary>
- /// SenderAssignedId.
- /// This Id is assigned by the sender of the message at the time that the message is first instantiated
- /// This can be used by the sender to retrieve information about the message
- /// </summary>
- public string SenderAssignedId { get; set; }
- /// <summary>
- /// Gets or sets the message subject.
- /// </summary>
- public string Subject { get; set; }
- /// <summary>
- /// Gets or sets the message Id.
- /// This is the database object Id used to retrieve the message from the persistence store
- /// </summary>
- public string Id { get; set; }
- /// <summary>
- /// Indicates whether or not the message body should be generated from a template
- /// </summary>
- public bool UseTemplate { get; set; }
- /// <summary>
- /// The identifier used to retrieve the template from the template store
- /// </summary>
- public string TemplateName { get; set; }
- /// <summary>
- /// Contains meta data that describes how to retrieve the data that is needed to populate the template
- /// </summary>
- public ITemplateDataQuery TemplateDataDefinition { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement