API
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Template.cs 757B

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. }