lab6 vue done

This commit is contained in:
Татьяна Артамонова 2023-09-03 21:42:06 +04:00
parent e5ec216e5b
commit 17968c2cea
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;