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

namespace Edu.Model.Entity.StudyAbroad
{
	/// <summary>
	/// 供应商实体类
	/// </summary>
	[Serializable]
	[DB(ConnectionName = "DefaultConnection")]
	public class RB_Supplier
    {
		/// <summary>
		/// 供应商编号(主键)
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 供应商类型
		/// </summary>
		public SupplierTypeEnum Type { get; set; }

		/// <summary>
		/// 供应商名称
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 联系人
		/// </summary>
		public string LinkMan { get; set; }

		/// <summary>
		/// 联系电话
		/// </summary>
		public string LinkTel { get; set; }

		/// <summary>
		/// 地址
		/// </summary>
		public string LinkAddress { get; set; }

		/// <summary>
		/// 备注
		/// </summary>
		public string Remark { 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>
		/// 返佣类型(0-百分比，1-固定金额)
		/// </summary>
		public int CommissionType { get; set; }

		/// <summary>
		/// 返佣值
		/// </summary>
		public decimal CommissionMoney { get; set; }

		/// <summary>
		/// 合同地址
		/// </summary>
		public string ContractUrl { get; set; }
	}
}
