using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test.Model
{
    /// <summary>
    /// 订单返佣信息
    /// </summary>
    public class OrderCommissionInfo
    {
        /// <summary>
        /// 主键编号
        /// </summary>
        public int id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string order_no { get; set; }

        public decimal first_price { get; set; }

        public decimal second_price { get; set; }

        public decimal third_price { get; set; }

        public int first_parent_id { get; set; }

        public int second_parent_id { get; set; }

        public int third_parent_id { get; set; }

        public int is_confirm { get; set; }

        public List<DetailCommiossion> detail { get; set; }
    }

    public class DetailCommiossion { 
        public int id { get; set; }

        public int order_detail_id { get; set; }
    }
}
