You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
415 B
C++
36 lines
415 B
C++
#include "person.h"
|
|
|
|
Person::Person()
|
|
{
|
|
}
|
|
int Person::getId() const
|
|
{
|
|
return id;
|
|
}
|
|
|
|
void Person::setId(int value)
|
|
{
|
|
id = value;
|
|
}
|
|
QString Person::getFirstName() const
|
|
{
|
|
return firstName;
|
|
}
|
|
|
|
void Person::setFirstName(const QString &value)
|
|
{
|
|
firstName = value;
|
|
}
|
|
QString Person::getLastName() const
|
|
{
|
|
return lastName;
|
|
}
|
|
|
|
void Person::setLastName(const QString &value)
|
|
{
|
|
lastName = value;
|
|
}
|
|
|
|
|
|
|