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:
@@ -191,3 +191,43 @@ void CampData::setOnVoucher(bool onVoucher)
|
||||
{
|
||||
m_onVoucher = onVoucher;
|
||||
}
|
||||
|
||||
QString CampData::createdBy() const
|
||||
{
|
||||
return m_createdBy;
|
||||
}
|
||||
|
||||
void CampData::setCreatedBy(const QString &createdBy)
|
||||
{
|
||||
m_createdBy = createdBy;
|
||||
}
|
||||
|
||||
QString CampData::updatedBy() const
|
||||
{
|
||||
return m_updatedBy;
|
||||
}
|
||||
|
||||
void CampData::setUpdatedBy(const QString &updatedBy)
|
||||
{
|
||||
m_updatedBy = updatedBy;
|
||||
}
|
||||
|
||||
QDateTime CampData::created() const
|
||||
{
|
||||
return m_created;
|
||||
}
|
||||
|
||||
void CampData::setCreated(const QDateTime &created)
|
||||
{
|
||||
m_created = created;
|
||||
}
|
||||
|
||||
QDateTime CampData::updated() const
|
||||
{
|
||||
return m_updated;
|
||||
}
|
||||
|
||||
void CampData::setUpdated(const QDateTime &updated)
|
||||
{
|
||||
m_updated = updated;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user