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
« 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
5class Station(Timestamp):
6 id: int
7 """Unique identifier"""
9 name: str
10 """Name of the station"""
12 status: int
13 """1 = active, 0 = inactive"""
15 type: UnsetOrNoneField[int]
16 """Type of the station"""
18 printable: UnsetOrNoneField[int]
19 """Whether the station is printable or not"""
21 can_print: UnsetOrNoneField[bool]
22 """Can be redirected to a printer"""
24 reminder_enabled: UnsetOrNoneField[bool]
25 """Is reminder notification on?"""
27 meta: UnsetOrNoneField[dict]
28 """Additional settings and visibility info"""
30 description: UnsetOrNoneField[str]
31 """Optional description"""