using Edu.Common.Enum.Course;
using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;

namespace Edu.Model.Entity.Course
{
    /// <summary>
    /// 学员退课单据实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Student_BackClass
    {
		/// <summary>
		/// 退课编号(主键）
		/// </summary>
		public int BackId { get; set; }

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

		/// <summary>
		/// 旅客编号
		/// </summary>
		public int GuestId { get; set; }

		/// <summary>
		/// 学生编号
		/// </summary>
		public int StudentId { get; set; }

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

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

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

		/// <summary>
		/// 已上课时
		/// </summary>
		public int FinishHours { get; set; }

		/// <summary>
		/// 退款金额
		/// </summary>
		public decimal BackMoney { get; set; }

		/// <summary>
		/// 申请时间
		/// </summary>
		public DateTime CreateTime { get; set; }

		/// <summary>
		/// 申请人
		/// </summary>
		public int CreateBy { get; set; }

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

		/// <summary>
		/// 审核状态
		/// </summary>
		public BackClassAuditStatusEnum AuditStatus { get; set; }

		/// <summary>
		/// 抄送人(多个逗号分隔)
		/// </summary>
		public string RecipientIds { get; set; }

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

		/// <summary>
		/// 申请备注
		/// </summary>
		public string ApplyReason { get; set; }

		/// <summary>
		/// 流程编号
		/// </summary>
		public int FlowId { get; set; }

        /// <summary>
        /// 财务单据id
        /// </summary>
        public int FinanceId;

		/// <summary>
		/// 实体退款金额
		/// </summary>
		public decimal RealityBackMoney { get; set; }
	}
}
