using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using DataAccessLayer.Entities;

namespace DataAccessLayer
{
    public class ISDbContext : DbContext
    {
        public ISDbContext() : base("IS")
        {
        }

        public DbSet<AttendanceEventType> AttendanceEventTypes { get; set; }
        public DbSet<AttendanceRecord> AttendanceRecords { get; set; }
        public DbSet<Department> Department { get; set; }
        public DbSet<Employee> Employees { get; set; }
        public DbSet<EmployeePosition> EmployeePositions { get; set; }
        public DbSet<PersonalEvent> PersonalEvents { get; set; }
        public DbSet<PersonalEventType> PersonalEventType { get; set; }
        public DbSet<Project> Projects { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<TimeSheetRecord> TimeSheetRecords { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<Request> VacationRequests { get; set; }

    }
}
