10 lines
166 B
Python
10 lines
166 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class ChangePasswordEntity(BaseModel):
|
|
user_id: int
|
|
new_password: str
|
|
confirm_password: str
|