| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | """Data Class for IMS Variable.""" |
||
| 2 | |||
| 3 | from __future__ import annotations |
||
| 4 | |||
| 5 | from dataclasses import dataclass |
||
| 6 | |||
| 7 | |||
| 8 | @dataclass |
||
| 9 | class IMSVariable: |
||
| 10 | """IMS Envista Variable.""" |
||
| 11 | |||
| 12 | variable_code: str |
||
| 13 | unit: str |
||
| 14 | description: str |
||
| 15 | |||
| 16 | def __repr__(self) -> str: |
||
| 17 | return f"Code: {self.variable_code} - Unit: ({self.unit}) - Description: {self.description}" |
||
| 18 |