31 lines
640 B
C
31 lines
640 B
C
|
#pragma once
|
||
|
#include <string>
|
||
|
#include "../external/SQLiteCpp/SQLiteCpp.h"
|
||
|
using namespace std;
|
||
|
class PartAddition
|
||
|
{
|
||
|
public:
|
||
|
PartAddition();
|
||
|
~PartAddition();
|
||
|
static void CreateIfNoExist(SQLite::Database* db);
|
||
|
public:
|
||
|
int m_Id;
|
||
|
string m_JobId;
|
||
|
int m_SourcePart;
|
||
|
int m_NewPart;
|
||
|
float m_XOffset;
|
||
|
float m_YOffset;
|
||
|
float m_Rotate;
|
||
|
|
||
|
public:
|
||
|
static const string PART_TABLE_NAME;
|
||
|
static const string FIELD_ID;
|
||
|
static const string FIELD_JOB_ID;
|
||
|
static const string FIELD_SOURCE_PART;
|
||
|
static const string FIELD_NEW_PART;
|
||
|
static const string FIELD_X_OFFSET;
|
||
|
static const string FIELD_Y_OFFSET;
|
||
|
static const string FIELD_ROTATE;
|
||
|
};
|
||
|
|