Resolved Merge Conflict

This commit is contained in:
2020-12-18 13:48:13 +01:00
parent 0c9c7584f8
commit ff5dc64ec1
50 changed files with 1346 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Adres
{
[Key]
public int Adres_ID { get; set; }
public string Straat { get; set; }
public int Huisnummer { get; set; }
public string Toevoeging { get; set; }
public string Postcode { get; set; }
public string Plaats { get; set; }
public string Land { get; set; }
}
}

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Afspraak
{
[Key]
public int Afspraak_ID { get; set; }
public int Agenda_ID { get; set; }
public DateTime BeginDatumeTijd { get; set; }
public int EindDaatumTijd { get; set; }
public string Locatie { get; set; }
public string Omschrijving { get; set; }
public string Onderwerp { get; set; }
public int Gebruiker_ID { get; set; }
public int Docent_ID { get; set; }
public int Student_ID { get; set; }
public int Praktijkbegeleider_ID { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Agenda
{
[Key]
public int Agenda_ID { get; set; }
public int AgendaBlock_ID { get; set; }
public int Gebruiker_ID { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class AgendaBlok
{
[Key]
public int AgendaBlok_ID { get; set; }
public DateTime BeginDatumTijd { get; set; }
public DateTime EindDatumTijd { get; set; }
public int Agenda_ID { get; set; }
public int Gebruiker_ID { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class AppSettings
{
public string EmailSmtp { get; set; }
public string EmailUsername { get; set; }
public string EmailPassword { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class BPVDocent
{
[Key]
public int BPVdocent_ID { get; set; }
public int Docent_ID { get; set; }
public int Student_ID { get; set; }
public int Traject_ID { get; set; }
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Bedrijf
{
[Key]
public int Bedrijf_ID { get; set; }
public string Naam { get; set; }
public string Logo { get; set; }
public string Beschrijving { get; set; }
public string Email { get; set; }
public int Telefoon { get; set; }
public string Status { get; set; }
public int Adres_ID { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Bericht
{
[Key]
public int Bericht_ID { get; set; }
public string Onderwerp { get; set; }
public string Berichtt { get; set; }
public DateTime BerichtDatumTijd { get; set; }
public int Afzender { get; set; }
public int Gebruiker_ID { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Deelnemer
{
[Key]
public int Deelnemer_ID { get; set; }
public int Afspraak_ID { get; set; }
public int Student_ID { get; st; }
public int BPVdocent_ID { get; set; }
public int Docent_ID { get; set; }
public int Praktijkbegeleider_ID { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Docent : Gebruiker
{
[Key]
public int Docent_ID { get; set; }
public int Gebruiker_ID { get; set; }
public string DrieLetterCode { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Document
{
[Key]
public int Document_ID { get; set; }
public string Bestand { get; set; }
public DateTime UploadDatumTijd { get; set; }
public int Versie { get; set; }
public int Gebruiker_ID { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Eisen
{
[Key]
public int Eisen_ID { get; set; }
public string Omschrijving { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Evaluatie
{
[Key]
public int Evaluatie_ID { get; set; }
public string Beoordeling { get; set; }
public string Feedbakc { get; set; }
public int Student_ID { get; set; }
public int BPVdocent_ID { get; set; }
public int Praktijkbegeleider_ID { get; set; }
public int EvaluatieDatumTIjd { get; set; }
public bool Accodering { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Gebruiker
{
[Key]
public int Gebruiker_ID { get; set; }
public string Voornaam { get; set; }
public string Tussenvoegsel { get; set; }
public string Achternaam { get; set; }
public DateTime GeboorteDatum { get; set; }
public string Geslacht { get; set; }
public string Email { get; set; }
public int Telefoon { get; set; }
public string Wachtwoord { get; set; }
public string Profielfoto { get; set; }
public string Status { get; set; }
public int Adres_ID { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Klas
{
[Key]
public int Klas_ID { get; set; }
public string Klasnaam { get; set; }
public int Mentor_ID { get; set; }
public int Opeleiding { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Mentor
{
[Key]
public int Mentor_ID { get; set; }
public int Docent_ID { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Opleiding
{
[Key]
public int Opleiding_ID { get; set; }
public string Naam { get; set; }
public string Omschrijving { get; set; }
public string Status { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class POK
{
[Key]
public int POK_ID { get; set; }
public bool Accodering { get; set; }
public DateTime AccoderingDatum { get; set; }
public DateTime AnnmaakDatum { get; set; }
public int Student_ID { get; set; }
public int BPVdocent_ID { get; set; }
public int Praktijkbegeleider_ID { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Praktijkbegeleider : Gebruiker
{
[Key]
public int Praktijkbegeleider_ID { get; set; }
public string Functie { get; set; }
public int Bedrijf_ID { get; set; }
public int Gebruiker_ID { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Session
{
[Key]
public int Session_ID { get; set; }
public string SessionToken { get; set; }
public DateTime SessionVervalDatumTijd { get; set; }
public int Gebruiker_ID { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Sollicitatie
{
[Key]
public int Sollicitatie_ID { get; set; }
public DateTime SolicitaieDatum { get; set; }
public string Status { get; set; }
public int Bedrijf_ID { get; set; }
public int Student_ID { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Stageplek
{
[Key]
public int StagePlek_ID { get; set; }
public int AantalPlekken { get; set; }
public int Bedrijf_ID { get; set; }
public int Eisen_ID { get; set; }
public int Opleiding_ID { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Stagecoordinator
{
[Key]
public int StageCoördinator_ID { get; set; }
}
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Student : Gebruiker
{
[Key]
public int Student_ID { get; set; }
public DateTime BeginDatum { get; set; }
public int Leerjaar { get; set; }
public int Adres_ID { get; set; }
public string CV { get; set; }
public string Motivatiebrief { get; set; }
public string Programmeertalen { get; set; }
public string Weblinks { get; set; }
public int Gebruiker_ID { get; set; }
public int Klas_ID { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Traject
{
[Key]
public int Traject_ID { get; set; }
public int Student_ID { get; set; }
public int BPVdocent_ID { get; set; }
public int Praktijkbegelijder_ID { get; set; }
public DateTime BeginDatum { get; set; }
public DateTime EindDatum { get; set; }
public int Evaluatie_ID { get; set; }
public int Weekstaten_ID { get; set; }
public int POK_ID { get; set; }
public int Sollicitatie_ID { get; set; }
public int StageCoördinator_ID { get; set; }
public int Document_ID { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace AlfaPrentice.Models
{
public class Weekstaten
{
[Key]
public int Weekstaten_ID { get; set; }
public string Beschrijving { get; set; }
public DateTime BeginDatumTijd { get; set; }
public DateTime EindDatumTijd { get; set; }
public int Student_ID { get; set; }
public string Status { get; set; }
public int GewerkteUren { get; set; }
}
}