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

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

        /// <summary>
        /// 订单id (需抵扣的订单Id)
        /// </summary>
        public int OrderId { get; set; }

        /// <summary>
        /// 来源id(抵扣订单Id)
        /// </summary>
        public int SourceId { get; set; }

        /// <summary>
        /// 类型  1抵扣
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 抵扣金额
        /// </summary>
        public decimal DeductionMoney { get; set; }

        /// <summary>
        /// 抵扣额外
        /// </summary>
        public decimal DeductionExtraMoney { get; set; }

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

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

        /// <summary>
        /// 期数id
        /// </summary>
        public int CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 周期id
        /// </summary>
        public int PeriodsId { get; set; }

    }
}
