Suppression de TeacherOwnerCourse.java et ajout d'un booléen Owned dans TeacherGivenCourse.java
This commit is contained in:
		| @ -12,4 +12,5 @@ public class TeacherGivenCourse { | |||||||
|     private int id; |     private int id; | ||||||
|     private int RegNo; |     private int RegNo; | ||||||
|     private int CourseId; |     private int CourseId; | ||||||
|  |     private boolean Owned; | ||||||
| } | } | ||||||
|  | |||||||
| @ -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; |  | ||||||
| } |  | ||||||
		Reference in New Issue
	
	Block a user