* @since 1.0.0 */ protected static array $columns = [ 'riskmngmt_process_id' => ['name' => 'riskmngmt_process_id', 'type' => 'int', 'internal' => 'id'], 'riskmngmt_process_name' => ['name' => 'riskmngmt_process_name', 'type' => 'string', 'internal' => 'title'], 'riskmngmt_process_description' => ['name' => 'riskmngmt_process_description', 'type' => 'string', 'internal' => 'description'], 'riskmngmt_process_descriptionraw' => ['name' => 'riskmngmt_process_descriptionraw', 'type' => 'string', 'internal' => 'descriptionRaw'], 'riskmngmt_process_department' => ['name' => 'riskmngmt_process_department', 'type' => 'int', 'internal' => 'department'], 'riskmngmt_process_unit' => ['name' => 'riskmngmt_process_unit', 'type' => 'int', 'internal' => 'unit'], 'riskmngmt_process_responsible' => ['name' => 'riskmngmt_process_responsible', 'type' => 'int', 'internal' => 'responsible'], 'riskmngmt_process_deputy' => ['name' => 'riskmngmt_process_deputy', 'type' => 'int', 'internal' => 'deputy'], ]; /** * Belongs to. * * @var array * @since 1.0.0 */ protected static array $belongsTo = [ 'unit' => [ 'mapper' => UnitMapper::class, 'self' => 'riskmngmt_cause_risk', ], 'department' => [ 'mapper' => DepartmentMapper::class, 'self' => 'riskmngmt_cause_department', ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'riskmngmt_process'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'riskmngmt_process_id'; }