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