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

namespace Edu.Model.Entity.Course
{
    /// <summary>
    /// 教育合同实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Education_Contract
    {
        /// <summary>
        /// 合同主键编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 合同类型:(1-培训   2-留学)
        /// </summary>
        public ContractTypeEnum CType { get; set; }

		/// <summary>
		/// 关联订单id
		/// </summary>
		public int OrderId { get; set; }

		/// <summary>
		/// 学生名单id
		/// </summary>
		public int GuestId { get; set; }

		/// <summary>
		/// 合同编号
		/// </summary>
		public string ContractNo { get; set; }

		/// <summary>
		/// 学生姓名
		/// </summary>
		public string StudentName { get; set; }

		/// <summary>
		/// 学生生日
		/// </summary>
		public DateTime StuBirth { get; set; }

		/// <summary>
		/// 学生性别(0-男,1-女)
		/// </summary>
		public int StuSex { get; set; }

		/// <summary>
		/// 学生地址
		/// </summary>
		public string StuAddress { get; set; }

		/// <summary>
		/// 学生电话
		/// </summary>
		public string StuTel { get; set; }

		/// <summary>
		/// 学生邮箱
		/// </summary>
		public string StuEmail { get; set; }

		/// <summary>
		/// 家长姓名
		/// </summary>
		public string ParentName { get; set; }

		/// <summary>
		/// 家长与学员关系
		/// </summary>
		public string ParentRelation { get; set; }

		/// <summary>
		/// 家长电话
		/// </summary>
		public string ParentTel { get; set; }

		/// <summary>
		/// 家长邮箱
		/// </summary>
		public string ParentEmail { get; set; }

		/// <summary>
		/// 紧急联系人姓名
		/// </summary>
		public string UrgentName { get; set; }

		/// <summary>
		/// 紧急联系人与学生关系
		/// </summary>
		public string UrgentRelation { get; set; }

		/// <summary>
		/// 紧急联系人电话
		/// </summary>
		public string UrgentTel { get; set; }

		/// <summary>
		/// 紧急联系人邮箱
		/// </summary>
		public string UrgentEmail { get; set; }

		/// <summary>
		/// 监护人身份证后4位
		/// </summary>
		public string GuardianIDCard { get; set; }

		/// <summary>
		/// 培训课程内容
		/// </summary>
		public string CourseName { get; set; }

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

		/// <summary>
		/// 校区负责人
		/// </summary>
		public string SchoolPrincipal { get; set; }

		/// <summary>
		/// 起始级别
		/// </summary>
		public string StartLevel { get; set; }

		/// <summary>
		/// 课程顾问
		/// </summary>
		public string CourseConsultant { get; set; }

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

		/// <summary>
		/// 第一期-培训课时数
		/// </summary>
		public int FirstClassHours { get; set; }

		/// <summary>
		/// 第一期-培训课程费
		/// </summary>
		public decimal FirstCourseFee { get; set; }

		/// <summary>
		/// 第一期-培训教材费
		/// </summary>
		public decimal FirstBookFee { get; set; }

		/// <summary>
		/// 第一期-培训课件费
		/// </summary>
		public decimal FirstClassFee { get; set; }

		/// <summary>
		/// 第一期-折让价格
		/// </summary>
		public decimal FirstDiscountMoney { get; set; }

		/// <summary>
		/// 第一期-费用总计
		/// </summary>
		public decimal FirstMoney { get; set; }

		/// <summary>
		/// 第一期-支付日期
		/// </summary>
		public DateTime FirstPayDate { get; set; }

		/// <summary>
		/// 第二期-培训课时数
		/// </summary>
		public int SecondClassHours { get; set; }

		/// <summary>
		/// 第二期-培训课程费
		/// </summary>
		public decimal SecondCourseFee { get; set; }

		/// <summary>
		/// 第二期-培训教材费
		/// </summary>
		public decimal SecondBookFee { get; set; }

		/// <summary>
		/// 第二期-培训课件费
		/// </summary>
		public decimal SecondClassFee { get; set; }

		/// <summary>
		/// 第二期-折让价格
		/// </summary>
		public decimal SecondDiscountMoney { get; set; }

		/// <summary>
		/// 第二期-费用总计
		/// </summary>
		public decimal SecondMoney { get; set; }

		/// <summary>
		/// 第二期-支付日期
		/// </summary>
		public DateTime SecondPayDate { get; set; }

		/// <summary>
		/// 第三期-培训课时数
		/// </summary>
		public int ThirdClassHours { get; set; }

		/// <summary>
		/// 第三期-培训课程费
		/// </summary>
		public decimal ThirdCourseFee { get; set; }

		/// <summary>
		/// 第三期-培训教材费
		/// </summary>
		public decimal ThirdBookFee { get; set; }

		/// <summary>
		/// 第三期-培训课件费
		/// </summary>
		public decimal ThirdClassFee { get; set; }

		/// <summary>
		/// 第三期-折让价格
		/// </summary>
		public decimal ThirdDiscountMoney { get; set; }

		/// <summary>
		/// 第三期-费用总计
		/// </summary>
		public decimal ThirdMoney { get; set; }

		/// <summary>
		/// 第三期-支付日期
		/// </summary>
		public DateTime ThirdPayDate { get; set; }

		/// <summary>
		/// 人民币大写金额
		/// </summary>
		public string CNYCaps { get; set; }

		/// <summary>
		/// 金额
		/// </summary>
		public decimal Money { get; set; }

		/// <summary>
		/// 乙方当前选择考试
		/// </summary>
		public string Exam { get; set; }

		/// <summary>
		/// 是否有补充协议(1-有)
		/// </summary>
		public int IsSupplement { get; set; }

		/// <summary>
		/// 学生签名
		/// </summary>
		public string Sign { get; set; }

		/// <summary>
		/// 签名时间
		/// </summary>
		public DateTime SignDate { get; set; }

		/// <summary>
		/// 监护人签字
		/// </summary>
		public string GuardianSign { get; set; }

		/// <summary>
		/// 监护人签字时间
		/// </summary>
		public DateTime GuardianSignDate { get; set; }

		/// <summary>
		/// 审核时间
		/// </summary>
		public DateTime AuditDate { get; set; }

		/// <summary>
		/// 审核人id
		/// </summary>
		public int AuditEmpId { get; set; }

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

		/// <summary>
		/// 盖章时间
		/// </summary>
		public DateTime SealDate { get; set; }

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

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

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

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

		/// <summary>
		/// 修改人
		/// </summary>
		public int UpdateBy { get; set; }

		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime UpdateTime { get; set; }

		/// <summary>
		/// 状态(0-草稿，1-提交审核，2-审核通过，3-驳回，4-取消)
		/// </summary>
		public int Status { get; set; }
	}
}
