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.

MailModel.cs 787B

12345678910111213141516171819202122
  1. using System.ComponentModel.DataAnnotations.Schema;
  2. namespace UnivateProperties_API.Model.Communication
  3. {
  4. public class MailModel : BaseEntity
  5. {
  6. public string ComType { get; set; }
  7. public string ToAddress { get; set; }
  8. public string FromAddress { get; set; }
  9. public string Name { get; set; }
  10. public string Email { get; set; }
  11. public string Phone { get; set; }
  12. public string Property { get; set; }
  13. public string Message { get; set; }
  14. public string HeardFrom { get; set; }
  15. [ForeignKey("MailSource")]
  16. public int? MailSourceId { get; set; }
  17. public virtual MailSource MailSource { get; set; }
  18. public string Error { get; set; }
  19. public bool Consent { get; set; }
  20. }
  21. }