namespace molilian.core
{
    /// <summary>
    /// 报告数据实体类
    /// </summary>
    public class TkReportDTO
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int Id { get; set; } = 0;

        public int accountId { get; set; } = 0;
        public string accountName { get; set; } = string.Empty;
        public DateTime report_date { get; set; }
        public DateTime create_time { get; set; }
        public DateTime last_time { get; set; }


        /// <summary>
        /// todo 过时 等待删除
        /// </summary>
        public int fix_uclk_pv_56 { get; set; } = 0;
        /// <summary>
        /// 点击人数 (访问过您的推广内容的用户数)
        /// </summary>
        public int uclk_uv_56 { get; set; } = 0;

        /// <summary>
        /// 点击次数 (用户访问您的推广内容（链接/口令/图片等）的次数)
        /// </summary>
        public int uclk_pv_56 { get; set; } = 0;

        /// <summary>
        /// 收藏人数 (访问您的推广内容后，收藏了商品或店铺的用户数)
        /// </summary>
        public int uclt_uv_56 { get; set; } = 0;

        /// <summary>
        /// 加购人数 (访问您的推广内容后，将商品添加进购物车的用户数)
        /// </summary>
        public int ucart_uv_56 { get; set; } = 0;

        /// <summary>
        /// 定金笔数 (已支付定金的预售订单笔数)
        /// </summary>
        public int dep_ord_num_56 { get; set; } = 0;

        /// <summary>
        /// 定金金额(元) (预售订单定金金额)
        /// </summary>
        public decimal dep_ord_dep_amt_56 { get; set; } = 0;

        /// <summary>
        /// 付款笔数 (用户已付款的订单笔数。如果订单是预售订单，在仅支付定金、未支付尾款状态时不统计；在支付尾款当日统计订单笔数)
        /// </summary>
        public int pay_ord_num_56 { get; set; } = 0;

        /// <summary>
        /// 付款金额(元) (订单付款金额（不含运费）。如果订单是预售订单，在仅支付定金、未支付尾款状态时不统计；在支付尾款当日统计订单整单付款金额（定金+尾款）)
        /// </summary>
        public decimal pay_ord_amt_56 { get; set; } = 0;

        /// <summary>
        /// 付款预估收入(元) (订单付款金额对应的收入（包含佣金和补贴）)
        /// </summary>
        public decimal pay_tk_disp_tfee_56 { get; set; } = 0;

        /// <summary>
        /// 付款人数 (产生了付款订单的用户数)
        /// </summary>
        public int pay_ord_uv_56 { get; set; } = 0;

        /// <summary>
        /// 有效付款笔数 (用户付款后、确认收货前，没有整单退款的订单笔数)
        /// </summary>
        public int eff_ord_num { get; set; } = 0;


        /// <summary>
        /// 有效付款金额(元) (订单付款金额，减去订单确认收货前发生的退款金额)
        /// </summary>
        public decimal eff_ord_amt { get; set; } = 0;

        /// <summary>
        /// 有效付款预估收入(元) (订单有效付款金额对应的收入（包含佣金和补贴）)
        /// </summary>
        public decimal eff_tk_disp_tfee { get; set; } = 0;

        /// <summary>
        /// 结算笔数 (用户已确认收货、且商家佣金支付成功的订单笔数)
        /// </summary>
        public int sett_ord_num_56 { get; set; } = 0;

        /// <summary>
        /// 结算金额(元) (用户已确认收货、且商家佣金支付成功的订单确认收货金额（不含运费、天猫国际类商品进口税、积分/券等抵扣的金额）)
        /// </summary>
        public decimal sett_ord_amt_56 { get; set; } = 0;

        /// <summary>
        /// 结算预估收入(元) (订单结算金额对应的收入（包含佣金和补贴）)
        /// </summary>
        public decimal sett_tk_disp_tfee_56 { get; set; } = 0;


        /// <summary>
        /// 所属订单结算金额
        /// </summary>
        public decimal order_ord_amt { get; set; } = 0;
        /// <summary>
        /// 所属订单结算收入
        /// </summary>
        public decimal order_ord_tfee { get; set; } = 0;
        public decimal order_ord_amt_12 { get; set; } = 0;
        public decimal order_ord_tfee_12 { get; set; } = 0;
        public decimal order_ord_amt_13 { get; set; } = 0;
        public decimal order_ord_tfee_13 { get; set; } = 0;
        public decimal order_ord_amt_14 { get; set; } = 0;
        public decimal order_ord_tfee_14 { get; set; } = 0;

        /// <summary>
        /// 来自订单表的付款笔数
        /// </summary>
        public int order_ord_num { get; set; } = 0;
        public int order_ord_num_3 { get; set; } = 0;
        public int order_ord_num_12 { get; set; } = 0;
        public int order_ord_num_13 { get; set; } = 0;
        public int order_ord_num_14 { get; set; } = 0;

        public decimal refund_order_ord_amt { get; set; } = 0;
        public decimal refund_order_ord_tfee { get; set; } = 0;
        public int refund_order_ord_num { get; set; } = 0;

        public decimal refund_order_ord_amt_4 { get; set; } = 0;
        public decimal refund_order_ord_tfee_4 { get; set; } = 0;
        public int refund_order_ord_num_4 { get; set; } = 0;

        
        public decimal refund_order_ord_deduct_tfee { get; set; } = 0;
        public decimal refund_order_ord_freeze_tfee { get; set; } = 0;
        public decimal refund_order_ord_unfreeze_tfee { get; set; } = 0;


        public int total_count { get; set; } = 0;
        public int abandon_count { get; set; } = 0;
        public int success_count { get; set; } = 0;
        public string abandon_percentage { get; set; } = string.Empty;
        public string success_percentage { get; set; } = string.Empty;


        public int parse_total_count { get; set; } = 0;
        public int parse_abandon_count { get; set; } = 0;
        public int parse_success_count { get; set; } = 0;
        public string parse_abandon_percentage { get; set; } = string.Empty;
        public string parse_success_percentage { get; set; } = string.Empty;


        public int jd_parse_total_count { get; set; } = 0;
        public int jd_parse_abandon_count { get; set; } = 0;
        public int jd_parse_success_count { get; set; } = 0;
        public string jd_parse_abandon_percentage { get; set; } = string.Empty;
        public string jd_parse_success_percentage { get; set; } = string.Empty;


        public int coupon_total_count { get; set; } = 0;
        public int coupon_abandon_count { get; set; } = 0;
        public int coupon_success_count { get; set; } = 0;
        public string coupon_abandon_percentage { get; set; } = string.Empty;
        public string coupon_success_percentage { get; set; } = string.Empty;

        public int tool_total_count { get; set; } = 0;
        public int tool_abandon_count { get; set; } = 0;
        public int tool_success_count { get; set; } = 0;
        public string tool_abandon_percentage { get; set; } = string.Empty;
        public string tool_success_percentage { get; set; } = string.Empty;
    }

}
