mirror of
https://github.com/Karaka-Management/oms-RiskManagement.git
synced 2026-02-05 14:58:40 +00:00
Use global namespace+minor fixes
This commit is contained in:
parent
eae8b72f2d
commit
b0ff234654
|
|
@ -35,6 +35,12 @@ final class CauseMapper extends DataMapperAbstract
|
||||||
'riskmngmt_cause_probability' => ['name' => 'riskmngmt_cause_probability', 'type' => 'int', 'internal' => 'probability'],
|
'riskmngmt_cause_probability' => ['name' => 'riskmngmt_cause_probability', 'type' => 'int', 'internal' => 'probability'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Belongs to.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
protected static $belongsTo = [
|
protected static $belongsTo = [
|
||||||
'risk' => [
|
'risk' => [
|
||||||
'mapper' => RiskMapper::class,
|
'mapper' => RiskMapper::class,
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,11 @@ final class DepartmentMapper extends DataMapperAbstract
|
||||||
*
|
*
|
||||||
* @var array<string, array<string, string>>
|
* @var array<string, array<string, string>>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*/ /**
|
||||||
|
* Belongs to.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $belongsTo = [
|
protected static $belongsTo = [
|
||||||
'department' => [
|
'department' => [
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,12 @@ final class ProcessMapper extends DataMapperAbstract
|
||||||
'riskmngmt_process_deputy' => ['name' => 'riskmngmt_process_deputy', 'type' => 'int', 'internal' => 'deputy'],
|
'riskmngmt_process_deputy' => ['name' => 'riskmngmt_process_deputy', 'type' => 'int', 'internal' => 'deputy'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Belongs to.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
protected static $belongsTo = [
|
protected static $belongsTo = [
|
||||||
'unit' => [
|
'unit' => [
|
||||||
'mapper' => UnitMapper::class,
|
'mapper' => UnitMapper::class,
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,11 @@ final class ProjectMapper extends DataMapperAbstract
|
||||||
*
|
*
|
||||||
* @var array<string, array<string, string>>
|
* @var array<string, array<string, string>>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*/ /**
|
||||||
|
* Belongs to.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $belongsTo = [
|
protected static $belongsTo = [
|
||||||
'project' => [
|
'project' => [
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,11 @@ final class RiskMapper extends DataMapperAbstract
|
||||||
*
|
*
|
||||||
* @var array<string, array<string, null|string>>
|
* @var array<string, array<string, null|string>>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*/ /**
|
||||||
|
* Has many relation.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $hasMany = [
|
protected static $hasMany = [
|
||||||
'media' => [
|
'media' => [
|
||||||
|
|
@ -74,6 +79,12 @@ final class RiskMapper extends DataMapperAbstract
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Belongs to.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
protected static $belongsTo = [
|
protected static $belongsTo = [
|
||||||
'project' => [
|
'project' => [
|
||||||
'mapper' => ProjectMapper::class,
|
'mapper' => ProjectMapper::class,
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,12 @@ final class RiskObjectMapper extends DataMapperAbstract
|
||||||
'riskmngmt_risk_object_risk' => ['name' => 'riskmngmt_risk_object_risk', 'type' => 'int', 'internal' => 'risk'],
|
'riskmngmt_risk_object_risk' => ['name' => 'riskmngmt_risk_object_risk', 'type' => 'int', 'internal' => 'risk'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Belongs to.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
protected static $belongsTo = [
|
protected static $belongsTo = [
|
||||||
'unit' => [
|
'unit' => [
|
||||||
'mapper' => RiskMapper::class,
|
'mapper' => RiskMapper::class,
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,12 @@ final class SolutionMapper extends DataMapperAbstract
|
||||||
'riskmngmt_solution_risk' => ['name' => 'riskmngmt_solution_risk', 'type' => 'int', 'internal' => 'risk'],
|
'riskmngmt_solution_risk' => ['name' => 'riskmngmt_solution_risk', 'type' => 'int', 'internal' => 'risk'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Belongs to.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
protected static $belongsTo = [
|
protected static $belongsTo = [
|
||||||
'risk' => [
|
'risk' => [
|
||||||
'mapper' => RiskMapper::class,
|
'mapper' => RiskMapper::class,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user