Left off at adding album record to the database and retrieving the album record to assign the album id to the song record's album id foreign key
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef ALBUMFILTER_H_
|
||||
#define ALBUMFILTER_H_
|
||||
|
||||
namespace Type
|
||||
{
|
||||
enum class albumFilter
|
||||
{
|
||||
id = 0,
|
||||
title,
|
||||
year
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef ARTISTFILTER_H_
|
||||
#define ARTISTFILTER_H_
|
||||
|
||||
namespace Type
|
||||
{
|
||||
enum class artistFilter
|
||||
{
|
||||
id = 0,
|
||||
artist
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef GENREFILTER_H_
|
||||
#define GENREFILTER_H_
|
||||
|
||||
namespace Type
|
||||
{
|
||||
enum class genreFilter
|
||||
{
|
||||
id = 0,
|
||||
category
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef YEARFILTER_H_
|
||||
#define YEARFILTER_H_
|
||||
|
||||
namespace Type
|
||||
{
|
||||
enum class yearFilter
|
||||
{
|
||||
id = 0,
|
||||
year
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user