# demopkg.models

*module*

Pydantic models, documented through the `griffe_pydantic` extension.

## demopkg.models.User

*class* · *pydantic model*

```python
class User(BaseModel)
```

Bases: `BaseModel`

Someone who can own a report.

### demopkg.models.User.email

*attribute* · *pydantic field*

```python
email: str
```

Contact address, lowercased on validation.

### demopkg.models.User.name

*attribute* · *pydantic field*

```python
name: str
```

Display name of the user.

### demopkg.models.User.reports

*attribute* · *pydantic field*

```python
reports: int = 0
```

How many reports the user owns.
