尝试中文变量名

This commit is contained in:
Kane Wang 2020-06-27 21:59:17 +08:00
parent f927673fa3
commit a129349734
1 changed files with 222 additions and 0 deletions

View File

@ -1,4 +1,226 @@

#pragma once
#include <QString>
#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 repair_suggestion_record& other)
: _(other._),
_(other._),
_(other._),
_(other._),
_(other._),
_(other._),
_(other._),
_(other._),
_(other._),
_(other._),
_(other._)
{
}
repair_suggestion_record(repair_suggestion_record&& other)
: _(std::move(other._)),
_(std::move(other._)),
_(std::move(other._)),
_(std::move(other._)),
_(std::move(other._)),
_(std::move(other._)),
_(std::move(other._)),
_(std::move(other._)),
_(std::move(other._)),
_(std::move(other._)),
_(std::move(other._))
{
}
repair_suggestion_record& operator=(const repair_suggestion_record& other)
{
if (this == &other)
return *this;
_ = other._;
_ = other._;
_ = other._;
_ = other._;
_ = other._;
_ = other._;
_ = other._;
_ = other._;
_ = other._;
_ = other._;
_ = other._;
return *this;
}
repair_suggestion_record& operator=(repair_suggestion_record&& other)
{
if (this == &other)
return *this;
_ = std::move(other._);
_ = std::move(other._);
_ = std::move(other._);
_ = std::move(other._);
_ = std::move(other._);
_ = std::move(other._);
_ = std::move(other._);
_ = std::move(other._);
_ = std::move(other._);
_ = std::move(other._);
_ = std::move(other._);
return *this;
}
QString get工单号() const
{
return _;
}
void set工单号(const QString& )
{
_ = ;
}
QString get工单类型() const
{
return _;
}
void set工单类型(const QString& )
{
_ = ;
}
QString get报案号() const
{
return _;
}
void set报案号(const QString& )
{
_ = ;
}
QString get推荐车商代码() const
{
return _;
}
void set推荐车商代码(const QString& )
{
_ = ;
}
QString get推荐车商名称() const
{
return _;
}
void set推荐车商名称(const QString& )
{
_ = ;
}
QString get出险日期() const
{
return _;
}
void set出险日期(const QString& )
{
_ = ;
}
QString get车牌号() const
{
return _;
}
void set车牌号(const QString& )
{
_ = ;
}
QString get品牌名称() const
{
return _;
}
void set品牌名称(const QString& )
{
_ = ;
}
QString get短信类型() const
{
return _;
}
void set短信类型(const QString& )
{
_ = ;
}
QString get发送时间() const
{
return _;
}
void set发送时间(const QString& )
{
_ = ;
}
QString get数据来源() const
{
return _;
}
void set数据来源(const QString& )
{
_ = ;
}
private:
QString _;
QString _;
QString _;
QString _;
QString _;
QString _;
QString _;
QString _;
QString _;
QString _;
QString _;
};