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

namespace Edu.Model.Entity.StudyAbroad
{
    /// <summary>
    /// 留学就业实体类
    /// </summary>
   	[Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_StudyAbroad
    {
		/// <summary>
		/// 项目编号(主键编号）
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 类别(1-留学，2-就业)
		/// </summary>
		public int Type { get; set; }

		/// <summary>
		/// 项目名称
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 供应编号
		/// </summary>
		public int SupplierId { get; set; }

		/// <summary>
		/// 供应商合同(url)
		/// </summary>
		public string SupplierContract { get; set; }

		/// <summary>
		/// 建议卖价
		/// </summary>
		public decimal SuggestPrice { get; set; }

		/// <summary>
		/// 实际卖价
		/// </summary>
		public decimal SellPrice { get; set; }

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

		/// <summary>
		/// 销售状态(见枚举)
		/// </summary>
		public SaleStateEnum SaleState { 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>
		/// 修改人
		/// </summary>
		public int UpdateBy { get; set; }

		/// <summary>
		/// 更新时间
		/// </summary>
		public DateTime UpdateTime { get; set; }

		/// <summary>
		/// 删除状态(0-正常,1-禁用)
		/// </summary>
		public DateStateEnum Status { get; set; }

		/// <summary>
		/// 主管审核Id
		/// </summary>
		public int DirectorId { get; set; }

		/// <summary>
		/// 主管审核状态(1-通过，2-拒绝)
		/// </summary>
		public int DirectorStatus { get; set; }

		/// <summary>
		/// 主管审核意见
		/// </summary>
		public string DirectorOpinion { get; set; }

		/// <summary>
		/// 主管审核时间
		/// </summary>
		public DateTime? DirectorAuditTime { get; set; }

		/// <summary>
		/// 部门负责人编号
		/// </summary>
		public int ManagerId { get; set; }

		/// <summary>
		/// 部门负责人审核状态(1-通过，2-拒绝)
		/// </summary>
		public int ManagerStatus { get; set; }

		/// <summary>
		/// 部门负责人审核意见
		/// </summary>
		public string ManagerOpinion { get; set; }

		/// <summary>
		/// 部门负责人审核时间
		/// </summary>
		public DateTime? ManagerAuditTime { get; set; }

		/// <summary>
		/// 封面图
		/// </summary>
		public string ImgCover { get; set; }

		/// <summary>
		/// 产品类型
		/// </summary>
		public StudyAbroadProductTypeEnum ProductType { get; set; }

		/// <summary>
		/// 特色
		/// </summary>
		public string StudyFeature { get; set; }

		/// <summary>
		/// 留学国家编号
		/// </summary>
		public int StudyCountryId { get; set; }

		/// <summary>
		/// 直客首次报名优惠比例
		/// </summary>
		public decimal B2CRatio { get; set; }

		/// <summary>
		/// 直客续费优惠比例
		/// </summary>
		public decimal B2CReNewRatio { get; set; }

		/// <summary>
		/// 一般同行首次报名返佣比例
		/// </summary>
		public decimal B2BRebateRatio { get; set; }

		/// <summary>
		/// 一般同行首次报名返佣类型
		/// </summary>
		public CourseRebateSetEnum B2BRebateRatioType { get; set; }

		/// <summary>
		/// 一般同行首次报名返佣课程比例值
		/// </summary>
		public decimal B2BRebateRatioValue { get; set; }

		/// <summary>
		/// 一般同行续费返佣比例
		/// </summary>
		public decimal B2BReNewRatio { get; set; }

		/// <summary>
		/// 一般同行续费返佣类型
		/// </summary>
		public CourseRebateSetEnum B2BReNewRatioType { get; set; }

		/// <summary>
		/// 一般同行续费返佣课程比例值
		/// </summary>
		public decimal B2BReNewRatioValue { get; set; }

		/// <summary>
		/// 校代同行首次报名返佣比例
		/// </summary>
		public decimal SchoolRebateRatio { get; set; }

		/// <summary>
		/// 校代同行首次返佣类型
		/// </summary>
		public CourseRebateSetEnum SchoolRebateRatioType { get; set; }

		/// <summary>
		/// 校代同行首次返佣课程比例值
		/// </summary>
		public decimal SchoolRebateRatioValue { get; set; }

		/// <summary>
		/// 校代同行续费返佣比例
		/// </summary>
		public decimal SchoolReNewRatio { get; set; }

		/// <summary>
		/// 校代同行续费返佣类型
		/// </summary>
		public CourseRebateSetEnum SchoolReNewRatioType { get; set; }

		/// <summary>
		/// 校代同行续费返佣课程比例值
		/// </summary>
		public decimal SchoolReNewRatioValue { get; set; }

		/// <summary>
		/// 转介首次报名返佣比例
		/// </summary>
		public decimal TransIntroductceRatio { get; set; }

		/// <summary>
		/// 转介首次报名返佣类型
		/// </summary>
		public CourseRebateSetEnum TransIntroductceRatioType { get; set; }

		/// <summary>
		/// 转介首次报名返佣课程比例值
		/// </summary>
		public decimal TransIntroductceRatioValue { get; set; }

		/// <summary>
		/// 转介续费返佣比例
		/// </summary>
		public decimal TransIntroductceReNewRatio { get; set; }

		/// <summary>
		/// 转介续费返佣类型
		/// </summary>
		public CourseRebateSetEnum TransIntroductceReNewRatioType { get; set; }

		/// <summary>
		/// 转介续费返佣课程比例值
		/// </summary>
		public decimal TransIntroductceReNewRatioValue { get; set; }

		/// <summary>
		/// 內推首次报名返佣比例
		/// </summary>
		public decimal InnerRecommendRatio { get; set; }

		/// <summary>
		/// 內推首次报名返佣类型
		/// </summary>
		public CourseRebateSetEnum InnerRecommendRatioType { get; set; }

		/// <summary>
		/// 內推首次报名返佣课程比例值
		/// </summary>
		public decimal InnerRecommendRatioValue { get; set; }

		/// <summary>
		/// 內推续费返佣比例
		/// </summary>
		public decimal InnerRecommendReNewRatio { get; set; }

		/// <summary>
		/// 內推续费返佣类型
		/// </summary>
		public CourseRebateSetEnum InnerRecommendReNewRatioType { get; set; }

		/// <summary>
		/// 內推续费返佣课程比例值
		/// </summary>
		public decimal? InnerRecommendReNewRatioValue { get; set; }

		/// <summary>
		/// 返佣类型(1比例返佣,2-固定金额返佣)
		/// </summary>
		public int CommissionReType { get; set; }

		/// <summary>
		/// 直客首次报名返佣比例
		/// </summary>
		public decimal B2CRbRatio { get; set; }

		/// <summary>
		/// 直客首次报名返佣类型
		/// </summary>
		public CourseRebateSetEnum B2CRbRatioType { get; set; }

		/// <summary>
		/// 直客首次报名返佣类型值
		/// </summary>
		public decimal B2CRbRatioValue { get; set; }

		/// <summary>
		/// 直客续费返佣比例
		/// </summary>
		public decimal B2CRNRatio { get; set; }

		/// <summary>
		/// 直客续费返佣类型
		/// </summary>
		public CourseRebateSetEnum B2CRNRatioType { get; set; }

		/// <summary>
		/// 直客续费返佣类型值
		/// </summary>
		public decimal B2CRNRatioValue { get; set; }
	}
}
