using System;

namespace ChuPiao.Common.Models
{
	/// <summary>
	/// 打票记录
	/// </summary>
	[Serializable]
	public class L_PrintTicketEntity
	{
        public L_PrintTicketEntity()
		{}
		#region Model
		private int _p_id;
		private int _p_lid;
		private string _p_ticketcode="";
		private string _p_password="";
		private string _p_randomcode="";
		private string _p_prnpath="";
		private string _p_prntext="";
        private DateTime _p_addtime = DateTime.Now;
        private decimal _p_money = 0;
        private int _p_mutiple = 0;
        private string _p_code = "";
        private DateTime _p_suctime = new DateTime(1900, 1, 1);
        private string _p_expect = "";
        private int _p_singlezhushu = 0;
        private string _p_zxnumber = "";
		/// <summary>
		/// 主键ID
		/// </summary>
		public int P_Id
		{
			set{ _p_id=value;}
			get{return _p_id;}
		}
		/// <summary>
		/// 票表ID
		/// </summary>
		public int P_Lid
		{
			set{ _p_lid=value;}
			get{return _p_lid;}
		}
		/// <summary>
		/// 票号
		/// </summary>
		public string P_TicketCode
		{
			set{ _p_ticketcode=value;}
			get{return _p_ticketcode;}
		}
		/// <summary>
		/// 彩票密码
		/// </summary>
		public string P_Password
		{
			set{ _p_password=value;}
			get{return _p_password;}
		}
		/// <summary>
		/// 随机码
		/// </summary>
		public string P_RandomCode
		{
			set{ _p_randomcode=value;}
			get{return _p_randomcode;}
		}
		/// <summary>
		/// 电子票路径
		/// </summary>
        //public string P_PrnPath
        //{
        //    set{ _p_prnpath=value;}
        //    get{return _p_prnpath;}
        //}
		/// <summary>
		/// 电子票文本
		/// </summary>
		public string P_PrnText
		{
			set{ _p_prntext=value;}
			get{return _p_prntext;}
		}
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime P_AddTime
		{
			set{ _p_addtime=value;}
			get{return _p_addtime;}
		}
        /// <summary>
        /// 金额
        /// </summary>
	    public decimal P_Money
	    {
	        get { return _p_money; }
	        set { _p_money = value; }
	    }
        /// <summary>
        /// 倍数
        /// </summary>
	    public int P_Mutiple
	    {
	        get { return _p_mutiple; }
	        set { _p_mutiple = value; }
	    }
        /// <summary>
        /// 投注号码
        /// </summary>
	    public string P_Code
	    {
	        get { return _p_code; }
	        set { _p_code = value; }
	    }
        /// <summary>
        /// 出票时间
        /// </summary>
	    public DateTime P_SucTime
	    {
	        get { return _p_suctime; }
	        set { _p_suctime = value; }
	    }
        /// <summary>
        /// 期号
        /// </summary>
	    public string P_Expect
	    {
	        get { return _p_expect; }
	        set { _p_expect = value; }
	    }
        /// <summary>
        /// 单倍注数
        /// </summary>
	    public int P_SingleZhuShu
	    {
	        get { return _p_singlezhushu; }
	        set { _p_singlezhushu = value; }
        }
        /// <summary>
        /// 销售点
        /// </summary>
        public string P_SaleAddress
        {
            set { _p_zxnumber = value; }
            get { return _p_zxnumber; }
        }

	    #endregion Model


        #region  竞彩扩展属性
        private int _l_codetype = 0;
        private string _l_coderate = "";
        private decimal _l_maxgetmoney = 0;
        private string _l_codereference = "";

        /// <summary>
        /// 过关方式
        /// </summary>
        public int L_CodeType
        {
            get { return _l_codetype; }
            set { _l_codetype = value; }
        }

        /// <summary>
        /// 投注赔率
        /// </summary>
        public string L_CodeRate
        {
            get { return _l_coderate; }
            set { _l_coderate = value; }
        }
        /// <summary>
        /// 投注最大中奖金额
        /// </summary>
        public decimal L_MaxGetMoney
        {
            get { return _l_maxgetmoney; }
            set { _l_maxgetmoney = value; }
        }
        /// <summary>
        /// 号码参照，实时让球、预设总分等
        /// </summary>
        public string L_CodeReference
        {
            get { return _l_codereference; }
            set { _l_codereference = value; }
        }
        #endregion

	}
}

