source: FarmatikoData/FarmatikoDataContext.cs@ 993189e

Last change on this file since 993189e was 1454207, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Change structure, Add repo, services & controllers

  • Property mode set to 100644
File size: 813 bytes
Line 
1using FarmatikoData.Models;
2using Microsoft.EntityFrameworkCore;
3
4namespace FarmatikoData
5{
6 public class FarmatikoDataContext : DbContext
7 {
8 public FarmatikoDataContext(DbContextOptions options) : base(options) { }
9
10
11 public virtual DbSet<HealthFacility> HealthFacilities { get; set; }
12 public virtual DbSet<HealthcareWorker> HealthcareWorkers { get; set; }
13 public virtual DbSet<Pharmacy> Pharmacies { get; set; }
14 public virtual DbSet<PharmacyHead> PharmacyHeads { get; set; }
15 public virtual DbSet<Pandemic> Pandemics { get; set; }
16 public virtual DbSet<Medicine> Medicines { get; set; }
17 public virtual DbSet<MedicineList> MedicineLists { get; set; }
18 public virtual DbSet<RequestPharmacyHead> PHRequests { get; set; }
19 }
20}
Note: See TracBrowser for help on using the repository browser.