bug fixes

This commit is contained in:
Dennis Eichhorn 2019-10-06 21:01:18 +02:00
parent 5ad9272598
commit b369421490
2 changed files with 7 additions and 6 deletions

View File

@ -33,13 +33,13 @@ final class CategoryMapper extends DataMapperAbstract
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $columns = [ protected static array $columns = [
'riskmngmt_category_id' => ['name' => 'riskmngmt_category_id', ' type' => 'int', 'internal' => 'id'], 'riskmngmt_category_id' => ['name' => 'riskmngmt_category_id', 'type' => 'int', 'internal' => 'id'],
'riskmngmt_category_name' => ['name' => 'riskmngmt_category_name', ' type' => 'string', 'internal' => 'title'], 'riskmngmt_category_name' => ['name' => 'riskmngmt_category_name', 'type' => 'string', 'internal' => 'title'],
'riskmngmt_category_description' => ['name' => 'riskmngmt_category_description', ' type' => 'string', 'internal' => 'description'], 'riskmngmt_category_description' => ['name' => 'riskmngmt_category_description', 'type' => 'string', 'internal' => 'description'],
'riskmngmt_category_descriptionraw' => ['name' => 'riskmngmt_category_descriptionraw', 'type' => 'string', 'internal' => 'descriptionRaw'], 'riskmngmt_category_descriptionraw' => ['name' => 'riskmngmt_category_descriptionraw', 'type' => 'string', 'internal' => 'descriptionRaw'],
'riskmngmt_category_parent' => ['name' => 'riskmngmt_category_parent', ' type' => 'int', 'internal' => 'parent'], 'riskmngmt_category_parent' => ['name' => 'riskmngmt_category_parent', 'type' => 'int', 'internal' => 'parent'],
'riskmngmt_category_responsible' => ['name' => 'riskmngmt_category_responsible', ' type' => 'int', 'internal' => 'responsible'], 'riskmngmt_category_responsible' => ['name' => 'riskmngmt_category_responsible', 'type' => 'int', 'internal' => 'responsible'],
'riskmngmt_category_deputy' => ['name' => 'riskmngmt_category_deputy', ' type' => 'int', 'internal' => 'deputy'], 'riskmngmt_category_deputy' => ['name' => 'riskmngmt_category_deputy', 'type' => 'int', 'internal' => 'deputy'],
]; ];
/** /**

View File

@ -31,6 +31,7 @@ class Risk
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $id = 0; protected int $id = 0;
/** /**
* Name. * Name.
* *