fix non tanto fix di springBoot
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package ch.progetto152.entity;
|
||||
|
||||
import javax.persistence.*;
|
||||
import jakarta.persistence.*;
|
||||
import java.util.Objects;
|
||||
|
||||
@Entity
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
package ch.progetto152.entity;
|
||||
|
||||
import javax.persistence.*;
|
||||
import jakarta.persistence.*;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
@Entity
|
||||
@Table(name = "LocationVisited", schema = "Progetto152", catalog = "")
|
||||
public class LocationVisited{
|
||||
|
||||
@Id
|
||||
@Basic
|
||||
@Column(name = "userId")
|
||||
private int userId;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package ch.progetto152.entity;
|
||||
|
||||
import javax.persistence.*;
|
||||
import jakarta.persistence.*;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
@Entity
|
||||
@Table(name = "User", schema = "Progetto152", catalog = "")
|
||||
public class User {
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Id
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package ch.progetto152.entity;
|
||||
|
||||
import javax.persistence.*;
|
||||
import jakarta.persistence.*;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
@Entity
|
||||
|
||||
Reference in New Issue
Block a user