| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System.Xml.Linq;
- namespace molilian.core
- {
- public enum PddUnionWorkMode
- {
- All = 0,
- SiteApi = 1,
- AffApi = 2,
- Crawler = 3,
- }
- public class PddPoolDTO
- {
- public int id { get; set; }
- public int duoId { get; set; }
- public string name { get; set; } = string.Empty;
- public string nodeName { get; set; } = string.Empty;
- public string end_point { get; set; } = string.Empty;
- public string app_key { get; set; } = string.Empty;
- public string app_secret { get; set; } = string.Empty;
- public string pid { get; set; } = string.Empty;
- public string access_token { get; set; } = string.Empty;
- public string refresh_token { get; set; } = string.Empty;
- public string company { get; set; } = string.Empty;
- public string description { 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; } = false;
- public bool cookie_status { get; set; } = false;
- public PddUnionWorkMode work_mode { get; set; } = PddUnionWorkMode.SiteApi;
- public string cookies { get; set; } = string.Empty;
- public decimal daily_income_limit { get; set; } = 0;
- public int daily_calls_limit { get; set; } = 0;
- public int current_hourly_calls { get; set; } = 0;
- public int hourly_calls_limit { get; set; } = 0;
- public int current_daily_calls { get; set; } = 0;
- public int time_range { get; set; } = 0;
- public decimal draw_balance { 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 is_hide { get; set; } = true;
- }
- }
|