From 25019d8b912a8cee6e3c2519371b1b162899985d Mon Sep 17 00:00:00 2001 From: LeoMoulin Date: Fri, 1 Mar 2024 01:47:11 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20de=20TeacherOwnerCourse.java=20et?= =?UTF-8?q?=20ajout=20d'un=20bool=C3=A9en=20Owned=20dans=20TeacherGivenCou?= =?UTF-8?q?rse.java?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Clyde/Tables/TeacherGivenCourse.java | 1 + .../Clyde/Tables/TeacherOwnerCourse.java | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 backend/src/main/java/ovh/herisson/Clyde/Tables/TeacherOwnerCourse.java diff --git a/backend/src/main/java/ovh/herisson/Clyde/Tables/TeacherGivenCourse.java b/backend/src/main/java/ovh/herisson/Clyde/Tables/TeacherGivenCourse.java index cf6e39d..5dcf1bf 100644 --- a/backend/src/main/java/ovh/herisson/Clyde/Tables/TeacherGivenCourse.java +++ b/backend/src/main/java/ovh/herisson/Clyde/Tables/TeacherGivenCourse.java @@ -12,4 +12,5 @@ public class TeacherGivenCourse { private int id; private int RegNo; private int CourseId; + private boolean Owned; } diff --git a/backend/src/main/java/ovh/herisson/Clyde/Tables/TeacherOwnerCourse.java b/backend/src/main/java/ovh/herisson/Clyde/Tables/TeacherOwnerCourse.java deleted file mode 100644 index 385f504..0000000 --- a/backend/src/main/java/ovh/herisson/Clyde/Tables/TeacherOwnerCourse.java +++ /dev/null @@ -1,16 +0,0 @@ -package ovh.herisson.Clyde.Tables; - -import jakarta.persistence.Entity; -import jakarta.persistence.GeneratedValue; -import jakarta.persistence.GenerationType; -import jakarta.persistence.Id; - -@Entity -public class TeacherOwnerCourse { - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - private int id; - - private int RegNo; - private int CourseId; -}