TkConfigDTO.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 tk_limit_per_ip_24h { get; set; } = 0;
  28. public string cpsIgnorePercentageCity { get; set; } = string.Empty;
  29. public int cps_limit_per_ip_24h { get; set; } = 0;
  30. public int pddIgnorePercentage { get; set; } = 0;
  31. public string pddIgnorePercentageCity { get; set; } = string.Empty;
  32. public int pdd_limit_per_ip_24h { get; set; } = 0;
  33. public int ksIgnorePercentage { get; set; } = 0;
  34. public string ksIgnorePercentageCity { get; set; } = string.Empty;
  35. public int ks_limit_per_ip_24h { get; set; } = 0;
  36. }
  37. }