NotificationMap.cs 577 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FluentNHibernate;
using FluentNHibernate.Mapping;
using ControlPanel.Models;

namespace ControlPanel.Mapping
{
    public class NotificationMap : ClassMap<Notification>
    {

        public NotificationMap()
        {
            Table("Notification");
            Id(x => x.id);
            Map(x => x.number);
            Map(x => x.river);
            Map(x => x.notification);
            Map(x => x.notificationphone);
            Map(x => x.opendoor);
        }


    }
}