using System;
using VT.FW.DB;

namespace Edu.Model.Entity.Customer
{
    /// <summary>
    /// 客户完成任务和订单关联实体
    /// </summary>
    [Serializable]
	[DB(ConnectionName = "DefaultConnection")]
	public class RB_Customer_Finishdetails
    {
		/// <summary>
		/// 主键编号
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 任务编号
		/// </summary>
		public int TaskId { get; set; }

		/// <summary>
		/// 任务子项编号
		/// </summary>
		public int DetailId { get; set; }

		/// <summary>
		/// 客户编号
		/// </summary>
		public int CustomerId { get; set; }

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

		/// <summary>
		/// 完成类型(1-人数，2-订单金额)
		/// </summary>
		public int FinishType { get;set; }

		/// <summary>
		/// 使用值
		/// </summary>
		public decimal FinishValue { get; set; }

		/// <summary>
		/// 完成编号
		/// </summary>
		public int FinishId { get; set; }
	}
}
