namespace molilian.core
{
    public enum FakeClickLinkType
    {
        All = 0,
        H5 = 1,
        Deeplink = 2,

    }
    public class TkPoolDTO
    {
        public int id { get; set; }
        public string name { get; set; } = string.Empty;
        public string company { get; set; } = string.Empty;
        public string phone { get; set; } = string.Empty;
        public string description { get; set; } = string.Empty;
        public string tb_token { get; set; } = string.Empty;
        public string floorId { get; set; } = string.Empty;
        public string refpid { get; set; } = string.Empty;
        public string cookies { get; set; } = string.Empty;
        public string user_agent { get; set; } = string.Empty;
        public DateTime create_time { get; set; } = DateTime.Now;
        public DateTime last_time { get; set; } = DateTime.Now;
        public DateTime login_time { get; set; } = DateTime.Now;
        public bool status { get; set; }
        public string suspended_endpoint { get; set; } = string.Empty;
        public string nodeName { get; set; } = string.Empty;
        public decimal current_amt { get; set; } = 0;
        public decimal daily_income_limit { get; set; } = 0;
        public decimal draw_balance { get; set; } = 0;
        public string api { get; set; } = string.Empty;
        public int api_id { get; set; } = 0;
        public string end_point { get; set; } = string.Empty;
        public bool enable_fake_click { get; set; } = false;
        public FakeClickLinkType fake_click_link_type { get; set; } = 0;
        public int fake_click_max { get; set; } = 0;
        public int fake_click_min { get; set; } = 0;
        public bool enable_parse { get; set; } = false;
        public bool enable_coupon { get; set; } = false;
        public bool enable_sync_order { get; set; } = false;
        public bool enable_promotionQuery { get; set; } = false;
        public bool enable_deep_url { get; set; } = false;


        public string appkey { get; set; } = string.Empty;
        public string appSecret { get; set; } = string.Empty;
        public string open_pid { get; set; } = string.Empty;
    }
}
