32 lines
719 B
C#
32 lines
719 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using EnVisage.Code;
|
|
|
|
namespace EnVisage.Models
|
|
{
|
|
public class NotificationControlModel : IBaseModel<NotificationControl>
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
|
|
public NotificationType type { get; set; }
|
|
public NotificationHowToSend HowToSend { get; set; }
|
|
public void CopyTo(NotificationControl dbObj)
|
|
{
|
|
if (dbObj == null)
|
|
throw new ArgumentNullException();
|
|
|
|
dbObj.HowtoSend = (int)HowToSend;
|
|
dbObj.NotificationType = (int)type;
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|