29 lines
500 B
C++
29 lines
500 B
C++
#ifndef SERIES_H
|
|
#define SERIES_H
|
|
|
|
#include "model_global.h"
|
|
|
|
#pragma db object
|
|
class MODEL_EXPORT Series_S
|
|
{
|
|
public:
|
|
Series_S() = default;
|
|
|
|
quint64 id() const { return m_id; }
|
|
void setId(const quint64& newId) { m_id = newId; }
|
|
|
|
QString serName() const { return m_serName; }
|
|
void setSerName(const QString& newSerName) { m_serName = newSerName; }
|
|
|
|
private:
|
|
friend class odb::access;
|
|
|
|
private:
|
|
#pragma db id auto
|
|
quint64 m_id;
|
|
|
|
QString m_serName;
|
|
};
|
|
|
|
#endif // SERIES_H
|