lab6 vue done
This commit is contained in:
parent
e5ec216e5b
commit
17968c2cea
@ -12,7 +12,7 @@ import java.util.Objects;
|
||||
@Table(name = "albums")
|
||||
public class Album {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@GeneratedValue
|
||||
private Long id;
|
||||
private String albumName;
|
||||
|
||||
|
@ -11,7 +11,7 @@ import java.util.Objects;
|
||||
@Table(name = "artists")
|
||||
public class Artist {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@GeneratedValue
|
||||
private Long id;
|
||||
private String artistName;
|
||||
private String genre;
|
||||
|
@ -9,7 +9,7 @@ import java.util.Objects;
|
||||
@Table(name = "songs")
|
||||
public class Song {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@GeneratedValue
|
||||
private Long id;
|
||||
private String songName;
|
||||
private Double duration;
|
||||
|
Loading…
Reference in New Issue
Block a user