Coverage for packages/clopos/src/integrify/clopos/schemas/stations/object.py: 100%

21 statements  

« prev     ^ index     » next       coverage.py v7.16.0, created at 2026-10-19 02:39 +0000

1from integrify.clopos.schemas.common.object import Timestamp 

2from integrify.utils import UnsetOrNoneField 

3 

4 

5class Station(Timestamp): 

6 id: int 

7 """Unique identifier""" 

8 

9 name: str 

10 """Name of the station""" 

11 

12 status: int 

13 """1 = active, 0 = inactive""" 

14 

15 type: UnsetOrNoneField[int] 

16 """Type of the station""" 

17 

18 printable: UnsetOrNoneField[int] 

19 """Whether the station is printable or not""" 

20 

21 can_print: UnsetOrNoneField[bool] 

22 """Can be redirected to a printer""" 

23 

24 reminder_enabled: UnsetOrNoneField[bool] 

25 """Is reminder notification on?""" 

26 

27 meta: UnsetOrNoneField[dict] 

28 """Additional settings and visibility info""" 

29 

30 description: UnsetOrNoneField[str] 

31 """Optional description"""