using dodohold.core; namespace molilian.core { public enum TkSubCodeEnum { /// /// 初筛1 /// Prelim1 = 101, /// /// 初筛2 /// Prelim2 = 102, /// /// 流量控制 /// TrafficCtrl = 103, /// /// 非标链接 /// NonStdLink = 104, /// /// 其他推广 /// OtherPromo = 105, /// /// 链接不可转 /// NoConvert = 106, /// /// 网络错误 /// NetError = 107, /// /// 转链成功 /// Success = 108, /// /// 其他 /// Other = 109, /// /// 厂商放弃 /// PartnersDrop = 110, /// /// 初筛1.5 /// Prelim1_5 = 110, Captcha = 111, /// /// 初筛3 /// Prelim3 = 112, ParseDeny = 113, } public class TkDataDTO { [Key] public long id { get; set; } public TkChannelEnum channel { get; set; } public LinkTypeEnum link_type { get; set; } public ChannelTypeEnum channel_type { get; set; } = ChannelTypeEnum.none; public int accountId { get; set; } = 0; public string accountName { get; set; } = string.Empty; public string proxy_node { get; set; } = string.Empty; public int tkEndpoint { get; set; } = 0; public bool success { get; set; } = true; public bool commercial { get; set; } = false; public string message { get; set; } = string.Empty; public string reason { get; set; } = string.Empty; public bool home_page { get; set; } = false; public string content { get; set; } = string.Empty; public string rawContent { get; set; } = string.Empty; public string rawContent2 { get; set; } = string.Empty; public string shortLinkurl { get; set; } = string.Empty; public string deeplink_url { get; set; } = string.Empty; public int elapsedTime { get; set; } = 0; public int elapsedTime2 { get; set; } = 0; public int elapsedTime3 { get; set; } = 0; public int retry_count { get; set; } = 0; public string ip { get; set; } = string.Empty; public string oaid { get; set; } = string.Empty; public string taoToken { get; set; } = string.Empty; public string num_iid { get; set; } = string.Empty; public string mktId { get; set; } = string.Empty; public string itemId { get; set; } = string.Empty; public string itemName { get; set; } = string.Empty; public decimal couponAmount { get; set; } = 0; public decimal promotionPrice { get; set; } = 0; public string pic { get; set; } = string.Empty; public string sellerNickName { get; set; } = string.Empty; public string shopTitle { get; set; } = string.Empty; public string qrCodeUrl { get; set; } = string.Empty; public DateTime create_time { get; set; } = DateTime.Now; [IgnoreInsert, IgnoreUpdate] public string couponEffectiveStartTime { get; set; } = string.Empty; [IgnoreInsert, IgnoreUpdate] public string couponEffectiveEndTime { get; set; } = string.Empty; public string end_point { get; set; } = string.Empty; public TkSubCodeEnum subCode { get; set; } = TkSubCodeEnum.Other; public string riskStrategy { get; set; } = string.Empty; public int launchScene { get; set; } = -1; public string parse_type { get; set; } = string.Empty; public string item_url { get; set; } = string.Empty; public string item_deeplink_url { get; set; } = string.Empty; } }