using Edu.Common.Enum;
using Edu.Common.Enum.Course;
using System;
using VT.FW.DB;

namespace Edu.Model.Entity.Sell
{
    /// <summary>
    /// 销售提成明细实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Sell_StudyAbroad_Details
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public int PeriodId { get; set; }

        /// <summary>
        /// 关联用户
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 留学项目id
        /// </summary>
        public int SourceId { get; set; }

        /// <summary>
        /// 订单ID
        /// </summary>
        public int OrderId { get; set; }

        /// <summary>
        /// 提成总金额
        /// </summary>
        public decimal CommissionMoney { get; set; }

        /// <summary>
        /// 额外奖励
        /// </summary>
        public decimal OtherMoney { get; set; }

        /// <summary>
        /// 额外扣除
        /// </summary>
        public decimal BackMoney { get; set; }

        /// <summary>
        /// 部门id
        /// </summary>
        public int Depart_Id { get; set; }

        /// <summary>
        /// 校区id
        /// </summary>
        public int School_Id { get; set; }

        /// <summary>
        /// 集团id
        /// </summary>
        public int Group_Id { get; set; }

        /// <summary>
        /// 期号
        /// </summary>
        public string Periods { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 报名人数
        /// </summary>
        public int StudentCount { get; set; }

    }
}
