TkConfigDTO.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace molilian.core
  4. {
  5. [Table("tk_config")]
  6. public class TkConfigDTO
  7. {
  8. [Key]
  9. public int id { get; set; }
  10. public int ignorePercentage { get; set; } = 0;
  11. public int jdIgnorePercentage { get; set; } = 0;
  12. public string pass_salt { get; set; } = string.Empty;
  13. public string ignorePercentageCity { get; set; } = string.Empty;
  14. public string jdIgnorePercentageCity { get; set; } = string.Empty;
  15. public int fake_click_min { get; set; }
  16. public int fake_click_max { get; set; }
  17. public int fake_click_ttl { get; set; } = 86400;
  18. public int rt_max { get; set; } = 0;
  19. /// <summary>
  20. /// 搜同款超时时间
  21. /// </summary>
  22. public int similar_timeout { get; set; } = 0;
  23. public string tk_whitelist_regular { get; set; } = string.Empty;
  24. public string tk_blacklist_regular { get; set; } = string.Empty;
  25. public string multi_token_regular { get; set; } = string.Empty;
  26. public int jd_limit_per_ip_24h { get; set; } = 0;
  27. public int jd_limit_per_oaid_24h { get; set; } = 0;
  28. public int tk_limit_per_ip_24h { get; set; } = 0;
  29. public int tk_limit_per_oaid_24h { get; set; } = 0;
  30. public string cpsIgnorePercentageCity { get; set; } = string.Empty;
  31. public int cps_limit_per_ip_24h { get; set; } = 0;
  32. public int cps_limit_per_oaid_24h { get; set; } = 0;
  33. public int pddIgnorePercentage { get; set; } = 0;
  34. public string pddIgnorePercentageCity { get; set; } = string.Empty;
  35. public int pdd_limit_per_ip_24h { get; set; } = 0;
  36. public int pdd_limit_per_oaid_24h { get; set; } = 0;
  37. public int ksIgnorePercentage { get; set; } = 0;
  38. public string ksIgnorePercentageCity { get; set; } = string.Empty;
  39. public int ks_limit_per_ip_24h { get; set; } = 0;
  40. public int ks_limit_per_oaid_24h { get; set; } = 0;
  41. public string ksTestToken { get; set; } = string.Empty;
  42. public int dyIgnorePercentage { get; set; } = 0;
  43. public string dyIgnorePercentageCity { get; set; } = string.Empty;
  44. public int dy_limit_per_ip_24h { get; set; } = 0;
  45. public int dy_limit_per_oaid_24h { get; set; } = 0;
  46. }
  47. }