
using dodohold.core;

namespace molilian.core
{

    [Table("tk_cps_logs")]

    public class UnionCpsDTO : BaseUnionCpsDTO;

    [Table("tk_cps_logs_test")]
    public class TestUnionCpsDTO : BaseUnionCpsDTO;


    [Table("tk_cps_logs_success")]
    public class SuccessUnionCpsDTO : BaseUnionCpsDTO;


    public class BaseUnionCpsDTO
    {
        [Key]
        public long id { get; set; }
        public string channel { get; set; }
        public int accountId { get; set; } = 0;
        public string accountName { get; set; } = string.Empty;
        public string rawContent { get; set; } = string.Empty;
        public bool success { get; set; } = false;
        public string reason { get; set; } = string.Empty;
        public string message { get; set; } = string.Empty;
        public string deeplink_url { get; set; } = string.Empty;
        public string token { get; set; } = string.Empty;
        public int elapsedTime { get; set; } = 0;
        public string ip { get; set; } = string.Empty;
        public string oaid { get; set; } = string.Empty;
        public DateTime create_time { get; set; } = DateTime.Now;
        public string end_point { get; set; } = string.Empty;
        public string category { get; set; } = string.Empty;
        public string pid { get; set; } = string.Empty;
    }
}
