Еще немного генерированных тестовых данных

This commit is contained in:
2025-08-03 18:15:17 +05:00
parent 594b3a936f
commit 65059351f7
3 changed files with 16 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ private:
QString m_firstName;
QString m_lastName;
quint8 m_age;
quint64 m_age;
};
#pragma db view object(Author_S)

View File

@@ -64,7 +64,7 @@ int generate_random_year(int min_year = 1900, int max_year = 2020)
return dis(gen);
}
QVector<testData> fillDB()
QVector<testData> fillAuthorDB()
{
QVector<QString> first_names = {
"John", "Jane", "Alex", "Chris", "Robert", "Emily", "James", "Linda", "David", "Sarah",