#include "record.h" Record::Record() { } Record::~Record() { } Record::Record(QString name, QString username, QString password, QString URL, QString note, QDateTime time){ this->id = id.createUuid(); this->name = name; this->username = username; this->password = password; this->URL = URL; this->note = note; this->time = time; } Record::Record(QString name, QString username, QString password, QString URL, QDateTime time){ this->id = id.createUuid(); this->name = name; this->username = username; this->password = password; this->URL = URL; this->time = time; } //QString Record::getId() const{} QUuid Record::getId() const{ return id; } QString Record::getName() const{ return name; } QString Record::getUsername() const{ return username; } QString Record::getPassword() const { return password; } QString Record::getURL() const{ return URL; } QString Record::getNote() const{ return note; } QDateTime Record::getTime() const{ return time; } void Record::setName(QString const name){ this->name = name; } void Record::setUsername(QString const username){ this->username = username; } void Record::setPassword(QString const password) { this->password = password; } void Record::setURL(QString const URL){ this->URL = URL; } void Record::setNote(QString const note){ this->note = note; } void Record::setTime(QDateTime const time){ this->time = time; }