src/DataBroker/DataBroker.js
/**
	 * Get value for createdAt, createdBy, modifiedAt and modifiedBy
	 * @param {Number} userId  The user id to use for createdBy and modifiedBy
	 * @returns {{createdAt: Date, createdBy: Number, modifiedAt: Date, modifiedBy: Number}}
	 */
Get value for createdAt, createdBy, modifiedAt and modifiedBy
@param {Number} userId  The user id to use for createdBy and modifiedBy
@returns {{createdAt: Date, createdBy: Number, modifiedAt: Date, modifiedBy: Number}}
Get value for createdAt createdBy modifiedAt and modifiedBy @param { Number } userId The user id to use for createdBy and modifiedBy @returns {{ createdAt : Date createdBy : Number modifiedAt : Date modifiedBy : Number }}
createdAndModified(userId = 0) {
		return {
			createdAt: this.now,
			createdBy: userId,
			modifiedAt: this.now,
			modifiedBy: userId,
		};
	}
createdAndModified ( userId = 0 ) { return { createdAt : this . now , createdBy : userId , modifiedAt : this . now , modifiedBy : userId , } ; }
Get value for createdAt, createdBy, modifiedAt and modifiedBy
 @param {Number} userId  The user id to use for createdBy and modifiedBy
 @returns {{createdAt: Date, createdBy: Number, modifiedAt: Date, modifiedBy: Number}}
Get value for createdAt createdBy modifiedAt and modifiedBy @param { Number } userId The user id to use for createdBy and modifiedBy @returns {{ createdAt : Date createdBy : Number modifiedAt : Date modifiedBy : Number }}