# GetWorkRegime

## Overview

Retrieves a single WorkRegime catalog entry by its surrogate id, returning the company-scoped work/time regime — key, displayName, and status — referenced from WorkerEmployment.

## Business Rules

- Returns the WorkRegime exactly as stored; WorkRegime is not effective-dated, so there is only one current record per id
- The returned entry carries its `companyId`, `key`, `displayName`, and `status` (ACTIVE or INACTIVE)

## Process Flow

```mermaid
flowchart TD
    A[Caller requests WorkRegime by id] --> B{WorkRegime exists?}
    B -- No --> C[Reject: WORK_REGIME_NOT_FOUND]
    B -- Yes --> D[Return WorkRegime: companyId, key, displayName, status]
```

## External Dependencies

- [workforce::WorkRegime](../model/WorkRegime.md) model — entity being queried

## Error Scenarios

- **WORK_REGIME_NOT_FOUND**: no WorkRegime exists for the given id

## Test Cases

- returns the WorkRegime when found by id
- returns NOT_FOUND when the id does not exist
- a returned WorkRegime includes its companyId, key, and status
