using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace molilian.core
{
    [Table("tk_config")]
    public class TkConfigDTO
    {
        [Key]
        public int id { get; set; }
        public int ignorePercentage { get; set; } = 0;
        public int jdIgnorePercentage { get; set; } = 0;
        public string pass_salt { get; set; } = string.Empty;
        public string ignorePercentageCity { get; set; } = string.Empty;
        public string jdIgnorePercentageCity { get; set; } = string.Empty;
        public int fake_click_min { get; set; }
        public int fake_click_max { get; set; }
        public int fake_click_ttl { get; set; } = 86400;
        public int rt_max { get; set; } = 0;

        /// <summary>
        /// 搜同款超时时间
        /// </summary>
        public int similar_timeout { get; set; } = 0;
        public string tk_whitelist_regular { get; set; } = string.Empty;
        public string tk_blacklist_regular { get; set; } = string.Empty;
        public string multi_token_regular { get; set; } = string.Empty;

        public int jd_limit_per_ip_24h { get; set; } = 0;
        public int tk_limit_per_ip_24h { get; set; } = 0;
        public string cpsIgnorePercentageCity { get; set; } = string.Empty;
        public int cps_limit_per_ip_24h { get; set; } = 0;

        public int pddIgnorePercentage { get; set; } = 0;
        public string pddIgnorePercentageCity { get; set; } = string.Empty;
        public int pdd_limit_per_ip_24h { get; set; } = 0;


        public int ksIgnorePercentage { get; set; } = 0;
        public string ksIgnorePercentageCity { get; set; } = string.Empty;
        public int ks_limit_per_ip_24h { get; set; } = 0;
    }
}
