...
This commit is contained in:
parent
73140366b9
commit
21c3f5fe75
@ -1,24 +1,24 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
class repair_suggestion_record
|
||||
{
|
||||
public:
|
||||
|
||||
repair_suggestion_record(const QString& 工单号,
|
||||
const QString& 工单类型,
|
||||
const QString& 报案号,
|
||||
const QString& 推荐车商代码,
|
||||
const QString& 推荐车商名称,
|
||||
const QString& 出险日期,
|
||||
const QString& 车牌号,
|
||||
const QString& 品牌名称,
|
||||
const QString& 短信类型,
|
||||
const QString& 发送时间,
|
||||
const QString& 数据来源)
|
||||
repair_suggestion_record(const std::wstring& 工单号,
|
||||
const std::wstring& 工单类型,
|
||||
const std::wstring& 报案号,
|
||||
const std::wstring& 推荐车商代码,
|
||||
const std::wstring& 推荐车商名称,
|
||||
const std::wstring& 出险日期,
|
||||
const std::wstring& 车牌号,
|
||||
const std::wstring& 品牌名称,
|
||||
const std::wstring& 短信类型,
|
||||
const std::wstring& 发送时间,
|
||||
const std::wstring& 数据来源)
|
||||
: 工单号_(工单号),
|
||||
工单类型_(工单类型),
|
||||
报案号_(报案号),
|
||||
@ -34,6 +34,7 @@ public:
|
||||
}
|
||||
|
||||
|
||||
|
||||
repair_suggestion_record(const repair_suggestion_record& other)
|
||||
: 工单号_(other.工单号_),
|
||||
工单类型_(other.工单类型_),
|
||||
@ -101,126 +102,126 @@ public:
|
||||
}
|
||||
|
||||
|
||||
QString get工单号() const
|
||||
std::wstring get工单号() const
|
||||
{
|
||||
return 工单号_;
|
||||
}
|
||||
|
||||
void set工单号(const QString& 工单号)
|
||||
void set工单号(const std::wstring& 工单号)
|
||||
{
|
||||
工单号_ = 工单号;
|
||||
}
|
||||
|
||||
QString get工单类型() const
|
||||
std::wstring get工单类型() const
|
||||
{
|
||||
return 工单类型_;
|
||||
}
|
||||
|
||||
void set工单类型(const QString& 工单类型)
|
||||
void set工单类型(const std::wstring& 工单类型)
|
||||
{
|
||||
工单类型_ = 工单类型;
|
||||
}
|
||||
|
||||
QString get报案号() const
|
||||
std::wstring get报案号() const
|
||||
{
|
||||
return 报案号_;
|
||||
}
|
||||
|
||||
void set报案号(const QString& 报案号)
|
||||
void set报案号(const std::wstring& 报案号)
|
||||
{
|
||||
报案号_ = 报案号;
|
||||
}
|
||||
|
||||
QString get推荐车商代码() const
|
||||
std::wstring get推荐车商代码() const
|
||||
{
|
||||
return 推荐车商代码_;
|
||||
}
|
||||
|
||||
void set推荐车商代码(const QString& 推荐车商代码)
|
||||
void set推荐车商代码(const std::wstring& 推荐车商代码)
|
||||
{
|
||||
推荐车商代码_ = 推荐车商代码;
|
||||
}
|
||||
|
||||
QString get推荐车商名称() const
|
||||
std::wstring get推荐车商名称() const
|
||||
{
|
||||
return 推荐车商名称_;
|
||||
}
|
||||
|
||||
void set推荐车商名称(const QString& 推荐车商名称)
|
||||
void set推荐车商名称(const std::wstring& 推荐车商名称)
|
||||
{
|
||||
推荐车商名称_ = 推荐车商名称;
|
||||
}
|
||||
|
||||
QString get出险日期() const
|
||||
std::wstring get出险日期() const
|
||||
{
|
||||
return 出险日期_;
|
||||
}
|
||||
|
||||
void set出险日期(const QString& 出险日期)
|
||||
void set出险日期(const std::wstring& 出险日期)
|
||||
{
|
||||
出险日期_ = 出险日期;
|
||||
}
|
||||
|
||||
QString get车牌号() const
|
||||
std::wstring get车牌号() const
|
||||
{
|
||||
return 车牌号_;
|
||||
}
|
||||
|
||||
void set车牌号(const QString& 车牌号)
|
||||
void set车牌号(const std::wstring& 车牌号)
|
||||
{
|
||||
车牌号_ = 车牌号;
|
||||
}
|
||||
|
||||
QString get品牌名称() const
|
||||
std::wstring get品牌名称() const
|
||||
{
|
||||
return 品牌名称_;
|
||||
}
|
||||
|
||||
void set品牌名称(const QString& 品牌名称)
|
||||
void set品牌名称(const std::wstring& 品牌名称)
|
||||
{
|
||||
品牌名称_ = 品牌名称;
|
||||
}
|
||||
|
||||
QString get短信类型() const
|
||||
std::wstring get短信类型() const
|
||||
{
|
||||
return 短信类型_;
|
||||
}
|
||||
|
||||
void set短信类型(const QString& 短信类型)
|
||||
void set短信类型(const std::wstring& 短信类型)
|
||||
{
|
||||
短信类型_ = 短信类型;
|
||||
}
|
||||
|
||||
QString get发送时间() const
|
||||
std::wstring get发送时间() const
|
||||
{
|
||||
return 发送时间_;
|
||||
}
|
||||
|
||||
void set发送时间(const QString& 发送时间)
|
||||
void set发送时间(const std::wstring& 发送时间)
|
||||
{
|
||||
发送时间_ = 发送时间;
|
||||
}
|
||||
|
||||
QString get数据来源() const
|
||||
std::wstring get数据来源() const
|
||||
{
|
||||
return 数据来源_;
|
||||
}
|
||||
|
||||
void set数据来源(const QString& 数据来源)
|
||||
void set数据来源(const std::wstring& 数据来源)
|
||||
{
|
||||
数据来源_ = 数据来源;
|
||||
}
|
||||
|
||||
private:
|
||||
QString 工单号_;
|
||||
QString 工单类型_;
|
||||
QString 报案号_;
|
||||
QString 推荐车商代码_;
|
||||
QString 推荐车商名称_;
|
||||
QString 出险日期_;
|
||||
QString 车牌号_;
|
||||
QString 品牌名称_;
|
||||
QString 短信类型_;
|
||||
QString 发送时间_;
|
||||
QString 数据来源_;
|
||||
std::wstring 工单号_;
|
||||
std::wstring 工单类型_;
|
||||
std::wstring 报案号_;
|
||||
std::wstring 推荐车商代码_;
|
||||
std::wstring 推荐车商名称_;
|
||||
std::wstring 出险日期_;
|
||||
std::wstring 车牌号_;
|
||||
std::wstring 品牌名称_;
|
||||
std::wstring 短信类型_;
|
||||
std::wstring 发送时间_;
|
||||
std::wstring 数据来源_;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user