Пример #1
0
 /// <summary>
 /// 实例化一个新的中奖排行信息
 /// </summary>
 /// <param name="model">中奖排行信息的数据模型</param>
 public TopBonus(BettingWithChasing model)
 {
     string t1 = (model.Id / 1000000).ToString("00");
     string t2 = (model.Id % 100).ToString("00");
     this.Issue = string.Format("{0}****{1}", t1, t2);
     this.Sum = model.Bonus;
 }
 /// <summary>
 /// 实例化一个新的投注信息(追号)
 /// </summary>
 /// <param name="model">投注信息(追号)的数据模型</param>
 public BettingWithChasingExport(BettingWithChasing model)
 {
     this.Id = model.Id;
     this.Issue = model.Issue;
     this.Multiple = model.Multiple;
     this.Status = model.Status;
     this.Pay = model.Pay;
     this.Bonus = model.Bonus;
     this.LotteryValue = model.LotteryValues;
 }