Added ability to store creator, updater, date of create and date of edit on entities- columns for this added to Voucher and CampData.

Removed permission check from Service::loadById- caused access violation when user had not have read permission.
This commit is contained in:
2017-08-21 14:16:43 +02:00
parent eff4190c99
commit 836521e533
11 changed files with 176 additions and 4 deletions
+40
View File
@@ -301,6 +301,46 @@ void Voucher::setSeason(const SeasonPtr &season)
m_season = season;
}
QString Voucher::createdBy() const
{
return m_createdBy;
}
void Voucher::setCreatedBy(const QString &createdBy)
{
m_createdBy = createdBy;
}
QString Voucher::updatedBy() const
{
return m_updatedBy;
}
void Voucher::setUpdatedBy(const QString &updatedBy)
{
m_updatedBy = updatedBy;
}
QDateTime Voucher::created() const
{
return m_created;
}
void Voucher::setCreated(const QDateTime &created)
{
m_created = created;
}
QDateTime Voucher::updated() const
{
return m_updated;
}
void Voucher::setUpdated(const QDateTime &updated)
{
m_updated = updated;
}
int Voucher::id() const
{
return m_id;