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

1from integrify.utils import UnsetOrNoneField 

2from pydantic import BaseModel 

3 

4 

5class Venue(BaseModel): 

6 id: int 

7 """Branch ID""" 

8 

9 name: str 

10 """Branch name""" 

11 

12 address: UnsetOrNoneField[str] 

13 """Branch address""" 

14 

15 status: UnsetOrNoneField[int] 

16 """1 = active, 0 = inactive""" 

17 

18 phone: UnsetOrNoneField[str] 

19 """Contact number""" 

20 

21 email: UnsetOrNoneField[str] 

22 """Contact email""" 

23 

24 media: list[str] = [] 

25 """Media URLs"""