API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. using System.Collections.Generic;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using UnivateProperties_API.Model.Users;
  4. namespace UnivateProperties_API.Model.Communication
  5. {
  6. public class Template : BaseEntity
  7. {
  8. #region Properties
  9. public string Name { get; set; }
  10. public string Subject { get; set; }
  11. public string Body { get; set; }
  12. [ForeignKey("Sender")]
  13. public int? SenderId { get; set; }
  14. public virtual ICollection<PlaceHolder> PlaceHolders { get; set; }
  15. public virtual SMTPAccount Sender { get; set; }
  16. public virtual ICollection<Agent> AgentBCC { get; set; }
  17. public virtual ICollection<Individual> IndividualBCC { get; set; }
  18. #endregion
  19. }
  20. }