UnionCpsDTO.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. 
  2. using dodohold.core;
  3. namespace molilian.core
  4. {
  5. [Table("tk_cps_logs")]
  6. public class UnionCpsDTO : BaseUnionCpsDTO;
  7. [Table("tk_cps_logs_test")]
  8. public class TestUnionCpsDTO : BaseUnionCpsDTO;
  9. [Table("tk_cps_logs_success")]
  10. public class SuccessUnionCpsDTO : BaseUnionCpsDTO;
  11. public class BaseUnionCpsDTO
  12. {
  13. [Key]
  14. public long id { get; set; }
  15. public CpsChannelEnum channel { get; set; }
  16. public int accountId { get; set; } = 0;
  17. public string accountName { get; set; } = string.Empty;
  18. public string rawContent { get; set; } = string.Empty;
  19. public bool success { get; set; } = false;
  20. public string reason { get; set; } = string.Empty;
  21. public string message { get; set; } = string.Empty;
  22. public string deeplink_url { get; set; } = string.Empty;
  23. public int elapsedTime { get; set; } = 0;
  24. public string ip { get; set; } = string.Empty;
  25. public string oaid { get; set; } = string.Empty;
  26. public DateTime create_time { get; set; } = DateTime.Now;
  27. public string end_point { get; set; } = string.Empty;
  28. }
  29. }