/// <summary>
 /// 实例化一个新的注册奖励的计划的快照
 /// </summary>
 /// <param name="plan">对应的注册奖励的计划</param>
 public RewardForRegisterSnapshot(RewardForRegisterPlan plan)
 {
     this.Title = plan.Title;
     this.Description = plan.Description;
     this.PrizeType = plan.PrizeType;
     this.Sum = plan.Sum;
     this.Code = plan.Code;
 }
 /// <summary>
 /// 实例化一个新的注册奖励的计划信息
 /// </summary>
 /// <param name="model">注册奖励的计划的数据模型</param>
 public RewardForRegisterPlanExport(RewardForRegisterPlan model)
 {
     this.Id = model.Id;
     this.Title = model.Title;
     this.Description = model.Description;
     this.PrizeType = model.PrizeType;
     this.Sum = model.Sum;
     this.Code = model.Code;
     this.BeginTime = model.BeginTime;
     this.EndTime = model.EndTime;
     this.Hide = model.Hide;
     this.Status = model.Status;
 }