public NotificationModel(GemManager gemManager, GemRuleViewModel item, NotifierRule rule, String message, DateTime timeStamp, NotificationType notificationType)
{
this.DataId = 0;
this.IsGemNotification = true;
this.NotificationType = notificationType;
this.TimeStamp = timeStamp;
this.Message = message;
if (gemManager != null)
{
this.BuyMoney = gemManager.BuyGemPriceMoney;
this.SellMoney = gemManager.BuyGoldPriceMoney;
}
this.Rule = rule;
if (NotificationType == NotificationType.BuyGems)
{
}
else if (NotificationType == NotificationType.BuyGold)
{
this.DataId = -1;
}
Name = message;
}