using System;
using VT.FW.DB;

namespace Edu.Model.Entity.Finance
{
    /// <summary>
    /// 营收报表
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DataStatisticsConnection")]
    public class RB_Edu_RevenueReport
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 班级id
        /// </summary>
        public int ClassId { get; set; }

        /// <summary>
        /// 班级名称
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        /// 班级状态   1未开始   2教学中   3已完成
        /// </summary>
        public int ClassState { get; set; }

        /// <summary>
        /// 开课时间
        /// </summary>
        public DateTime ClassBegins { get; set; }

        /// <summary>
        /// 课程id
        /// </summary>
        public int CourseId { get; set; }

        /// <summary>
        /// 课程名称
        /// </summary>
        public string CourseName { get; set; }

        /// <summary>
        /// 教师id
        /// </summary>
        public int TeacherId { get; set; }

        /// <summary>
        /// TeacherName
        /// </summary>
        public string TeacherName { get; set; }

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

        /// <summary>
        /// 校区名称
        /// </summary>
        public string SchoolName { get; set; }

        /// <summary>
        /// 应收金额
        /// </summary>
        public decimal YingShou { get; set; }

        /// <summary>
        /// 实收金额
        /// </summary>
        public decimal ShiShou { get; set; }

        /// <summary>
        /// 退款
        /// </summary>
        public decimal TuiKuan { get; set; }

        /// <summary>
        /// 平台税金
        /// </summary>
        public decimal PingTaiShuiJin { get; set; }

        /// <summary>
        /// 优惠金额
        /// </summary>
        public decimal YouHui { get; set; }

        /// <summary>
        /// 待收金额
        /// </summary>
        public decimal DaiShou { get; set; }

        /// <summary>
        /// 溢收金额
        /// </summary>
        public decimal YiShou { get; set; }

        /// <summary>
        /// 在途金额
        /// </summary>
        public decimal ZaiTu { get; set; }

        /// <summary>
        /// 客人数量
        /// </summary>
        public int GuestNum { get; set; }

        /// <summary>
        /// 其他收入
        /// </summary>
        public decimal QTShouRu { get; set; }

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

        /// <summary>
        /// 课时费
        /// </summary>
        public decimal ClassFee { get; set; }

        /// <summary>
        /// 绩效奖励
        /// </summary>
        public decimal JiXiaoMoney { get; set; }

        /// <summary>
        /// 其他
        /// </summary>
        public decimal QTZhiChu { get; set; }

        /// <summary>
        /// 应付金额
        /// </summary>
        public decimal YingFu { get; set; }

        /// <summary>
        /// 毛利
        /// </summary>
        public decimal MaoLi { get; set; }

        /// <summary>
        /// 毛利率
        /// </summary>
        public decimal MaoLiRate { get; set; }

        /// <summary>
        /// 实际利润
        /// </summary>
        public decimal ShiJiLiRun { get; set; }

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

        /// <summary>
        /// 平均收入
        /// </summary>
        public decimal AverageIncome { get; set; }

        /// <summary>
        /// 平均成本
        /// </summary>
        public decimal AverageCost { get; set; }

        /// <summary>
        /// 平均利润
        /// </summary>
        public decimal AverageProfit { get; set; }

        /// <summary>
        /// 集团ID
        /// </summary>
        public int Rb_Group_Id { get; set; }

        /// <summary>
        /// 数据类型   1培训   2留学   3就业
        /// </summary>
        public int DateType { get; set; }

        /// <summary>
        /// 班号
        /// </summary>
        public string ClassNo { get; set; }

        /// <summary>
        /// 班级总课时
        /// </summary>
        public int HoursNum { get; set; }

        /// <summary>
        /// 班级已上课时
        /// </summary>
        public int ConsumeNum { get; set; }

        /// <summary>
        /// 学生已上课金额
        /// </summary>
        public decimal ConsumeMoney { get; set; }

    }
}
