#include "types.h" Types::Types() {} Worker::Worker() {} int Worker::id() const { return _id; } void Worker::setId(int newId) { _id = newId; } QString Worker::name() const { return _name; } void Worker::setName(const QString &newName) { _name = newName; } int Worker::experience() const { return _experience; } void Worker::setExperience(int newExperience) { _experience = newExperience; } QString Worker::phoneNumber() const { return _phoneNumber; } void Worker::setPhoneNumber(const QString &newPhoneNumber) { _phoneNumber = newPhoneNumber; } QString Worker::teamName() const { return _teamName; } void Worker::setTeamName(const QString &newTeamName) { _teamName = newTeamName; } Team::Team() {} int Team::id() const { return _id; } void Team::setId(int newId) { _id = newId; } bool Team::status() const { return _status; } void Team::setStatus(bool newStatus) { _status = newStatus; } QString Team::name() const { return _name; } void Team::setName(const QString &newName) { _name = newName; } Stages::Stages() {} int Stages::id() const { return _id; } void Stages::setId(int newId) { _id = newId; } QString Stages::name() const { return _name; } void Stages::setName(const QString &newName) { _name = newName; } QDateTime Stages::StartDate() const { return _StartDate; } void Stages::setStartDate(const QDateTime &newStartDate) { _StartDate = newStartDate; } QDateTime Stages::FinishDate() const { return _FinishDate; } void Stages::setFinishDate(const QDateTime &newFinishDate) { _FinishDate = newFinishDate; } int Stages::expenses() const { return _expenses; } void Stages::setExpenses(int newExpenses) { _expenses = newExpenses; } QString Stages::nameWorker() const { return _nameWorker; } void Stages::setNameWorker(const QString &newNameWorker) { _nameWorker = newNameWorker; } int Stages::idWorker() const { return _idWorker; } void Stages::setIdWorker(int newIdWorker) { _idWorker = newIdWorker; } bool Stages::completed() const { return _completed; } void Stages::setCompleted(bool newCompleted) { _completed = newCompleted; } DeviceStructureElement::DeviceStructureElement() {} int DeviceStructureElement::id() const { return _id; } void DeviceStructureElement::setId(int newId) { _id = newId; } QString DeviceStructureElement::name() const { return _name; } void DeviceStructureElement::setName(const QString &newName) { _name = newName; } QString DeviceStructureElement::description() const { return _description; } void DeviceStructureElement::setDescription(const QString &newDescription) { _description = newDescription; } int DeviceStructureElement::count() const { return _count; } void DeviceStructureElement::setCount(int newCount) { _count = newCount; } QString DeviceStructureElement::nameType() const { return _nameType; } void DeviceStructureElement::setNameType(const QString &newNameType) { _nameType = newNameType; } DeviceModel::DeviceModel() {} int DeviceModel::id() const { return _id; } void DeviceModel::setId(int newId) { _id = newId; } QString DeviceModel::name() const { return _name; } void DeviceModel::setName(const QString &newName) { _name = newName; } QString DeviceModel::description() const { return _description; } void DeviceModel::setDescription(const QString &newDescription) { _description = newDescription; } int DeviceModel::workEfficiency() const { return _workEfficiency; } void DeviceModel::setWorkEfficiency(int newWorkEfficiency) { _workEfficiency = newWorkEfficiency; } int DeviceModel::reliability() const { return _reliability; } void DeviceModel::setReliability(int newReliability) { _reliability = newReliability; } int DeviceModel::durability() const { return _durability; } void DeviceModel::setDurability(int newDurability) { _durability = newDurability; } QDateTime DeviceModel::CreateDate() const { return _CreateDate; } void DeviceModel::setCreateDate(const QDateTime &newCreateDate) { _CreateDate = newCreateDate; } QList DeviceModel::structureElements() const { return _structureElements; } void DeviceModel::setStructureElements(const QList &newStructureElements) { _structureElements = newStructureElements; } int DeviceModel::idType() const { return _idType; } void DeviceModel::setIdType(int newIdType) { _idType = newIdType; } QString DeviceModel::nameType() const { return _nameType; } void DeviceModel::setNameType(const QString &newNameType) { _nameType = newNameType; } Project::Project() {} int Project::id() const { return _id; } void Project::setId(int newId) { _id = newId; } QString Project::description() const { return _description; } void Project::setDescription(const QString &newDescription) { _description = newDescription; } QDateTime Project::StartProjectDate() const { return _StartProjectDate; } void Project::setStartProjectDate(const QDateTime &newStartProjectDate) { _StartProjectDate = newStartProjectDate; } QDateTime Project::FinishProjectDate() const { return _FinishProjectDate; } void Project::setFinishProjectDate(const QDateTime &newFinishProjectDate) { _FinishProjectDate = newFinishProjectDate; } double Project::budget() const { return _budget; } void Project::setBudget(double newBudget) { _budget = newBudget; } int Project::idStages() const { return _idStages; } void Project::setIdStages(int newIdStages) { _idStages = newIdStages; } QString Project::nameStages() const { return _nameStages; } void Project::setNameStages(const QString &newNameStages) { _nameStages = newNameStages; } int Project::idTeam() const { return _idTeam; } void Project::setIdTeam(int newIdTeam) { _idTeam = newIdTeam; } QString Project::nameTeam() const { return _nameTeam; } void Project::setNameTeam(const QString &newNameTeam) { _nameTeam = newNameTeam; } DeviceModel Project::deviceModel() const { return _deviceModel; } void Project::setDeviceModel(const DeviceModel &newDeviceModel) { _deviceModel = newDeviceModel; } bool Project::isLiked() const { return _isLiked; } void Project::setIsLiked(bool newIsLiked) { _isLiked = newIsLiked; } bool Project::isReady() const { return _isReady; } void Project::setIsReady(bool newIsReady) { _isReady = newIsReady; } Stages Project::stages() const { return _stages; } void Project::setStages(const Stages &newStages) { _stages = newStages; } QString Project::name() const { return _name; } void Project::setName(const QString &newName) { _name = newName; } DeviceType::DeviceType() {} int DeviceType::id() const { return _id; } void DeviceType::setId(int newId) { _id = newId; } QString DeviceType::name() const { return _name; } void DeviceType::setName(const QString &newName) { _name = newName; }