using dodohold.core;

namespace molilian.core
{
    [Table("deeplink_parse_logs")]

    public class DeeplinkParseDataDTO : BaseDeeplinkParseDataDTO;

    [Table("deeplink_parse_logs_test")]
    public class TestDeeplinkParseDataDTO : BaseDeeplinkParseDataDTO;


    [Table("deeplink_parse_logs_success")]
    public class SuccessDeeplinkParseDataDTO : BaseDeeplinkParseDataDTO;

    [Table("deeplink_parse_logs_fil")]
    public class FilDeeplinkParseDataDTO : BaseDeeplinkParseDataDTO;


    public class BaseDeeplinkParseDataDTO
    {
        [Key]
        public int channel_id { get; set; } = 0;
        public string channel_name { get; set; } = "unknown";
        public bool success { get; set; } = true;
        public string message { get; set; } = string.Empty;
        public string reason { get; set; } = string.Empty;
        public string content { get; set; } = string.Empty;
        public string ip { get; set; } = string.Empty;
        public string oaid { get; set; } = string.Empty;
        public string deeplink_url { get; set; } = string.Empty;
        public string itemName { get; set; } = string.Empty;
        public int elapsedTime { get; set; } = 0;
        public DateTime create_time { get; set; } = DateTime.Now;
        public string end_point { get; set; } = string.Empty;
    }

}
