Coverage for packages/clopos/src/integrify/clopos/schemas/venues/object.py: 100%
17 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.utils import UnsetOrNoneField
2from pydantic import BaseModel
5class Venue(BaseModel):
6 id: int
7 """Branch ID"""
9 name: str
10 """Branch name"""
12 address: UnsetOrNoneField[str]
13 """Branch address"""
15 status: UnsetOrNoneField[int]
16 """1 = active, 0 = inactive"""
18 phone: UnsetOrNoneField[str]
19 """Contact number"""
21 email: UnsetOrNoneField[str]
22 """Contact email"""
24 media: list[str] = []
25 """Media URLs"""