SMSLog.cs 956 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace MTWorkHR.Core.Entities
  4. {
  5. public class SmsLog : Log
  6. {
  7. [Key]
  8. public int Id { get; set; }
  9. public DateTime? CreatedDate { get; set; } = DateTime.Now;
  10. [MaxLength(450)]
  11. public string UserId { get; set; }
  12. [MaxLength(250)]
  13. public string UserAgent { get; set; }
  14. [StringLength(255)]
  15. public string MobileNumber { get; set; }
  16. [StringLength(500)]
  17. public string SMSMessage { get; set; }
  18. [StringLength(50)]
  19. public string SMSProvider { get; set; }
  20. [StringLength(250)]
  21. public string ServiceURL { get; set; }
  22. public string ServiceRequest { get; set; }
  23. public string ServiceResponse { get; set; }
  24. [StringLength(50)]
  25. public string ReferenceId { get; set; }
  26. [StringLength(50)]
  27. public string Module { get; set; }
  28. }
  29. }