using System;
using VT.FW.DB;

namespace Edu.Model.Entity.Contract
{
	/// <summary>
	/// 学员退课协议实体类
	/// </summary>
	[Serializable]
	[DB(ConnectionName = "DefaultConnection")]
	public class RB_BackClass_Protocol
	{
		/// <summary>
		/// 主键编号
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 退课编号(退课表主键编号)
		/// </summary>
		public int? BackId { get; set; }

		/// <summary>
		/// 合约编号
		/// </summary>
		public string ProtocolNum { get; set; }

		/// <summary>
		/// 甲方
		/// </summary>
		public string PartyAName { get; set; }

		/// <summary>
		/// 甲方家长/监护人
		/// </summary>
		public string PartyAGuardian { get; set; }

		/// <summary>
		/// 乙方
		/// </summary>
		public string PartyBName { get; set; }

		/// <summary>
		/// 乙方法定代表人
		/// </summary>
		public string PartyBLegal { get; set; }

		/// <summary>
		/// 签订日期
		/// </summary>
		public DateTime? SignDate { get; set; }

		/// <summary>
		/// 原协议报名人员
		/// </summary>
		public string OldSaleMan { get; set; }

		/// <summary>
		/// 原报名项目
		/// </summary>
		public string OldCourseName { get; set; }

		/// <summary>
		/// 原报名项目原价
		/// </summary>
		public decimal? OldSellPrice { get; set; }

		/// <summary>
		/// 原报名项目优惠价
		/// </summary>
		public decimal? OldDiscountMoney { get; set; }

		/// <summary>
		/// 原报名项目已收学费
		/// </summary>
		public decimal? OldIncome { get; set; }

		/// <summary>
		/// 原收据单号
		/// </summary>
		public string OldFinaceNum { get; set; }

		/// <summary>
		/// 原收款人
		/// </summary>
		public string OldReceiveMan { get; set; }

		/// <summary>
		/// 总课时
		/// </summary>
		public decimal? TotalClassHours { get; set; }

		/// <summary>
		/// 完成课时
		/// </summary>
		public decimal? CompleteHours { get; set; }

		/// <summary>
		/// 剩余课时
		/// </summary>
		public decimal? SurplusHours { get; set; }

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

		/// <summary>
		/// 声明
		/// </summary>
		public string StateMent { get; set; }

		/// <summary>
		/// 甲方签字
		/// </summary>
		public string PartyASign { get; set; }

		/// <summary>
		/// 甲方签字时间
		/// </summary>
		public DateTime? PartyASignDate { get; set; }

		/// <summary>
		/// 乙方签字
		/// </summary>
		public string PartyBSign { get; set; }

		/// <summary>
		/// 乙方签字时间
		/// </summary>
		public DateTime? PartyBSignDate { get; set; }

		/// <summary>
		/// 审核状态(跟随退课单据)
		/// </summary>
		public int? AuditStatus { get; set; }

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

		/// <summary>
		/// 学校编号
		/// </summary>
		public int School_Id { get;set;}

		/// <summary>
		/// 创建人
		/// </summary>
		public int CreateBy { get; set; }

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

		/// <summary>
		/// 是否盖章(1-是)
		/// </summary>
		public int IsCompanySeal { get; set; }

		/// <summary>
		/// 是否销售确认(1-是)
		/// </summary>
		public int IsSure { get; set; }
	}
}
