You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 1 година
12345678910111213
  1. from pydantic import BaseModel, Field
  2. from datetime import datetime
  3. class CreateFuelingTask(BaseModel):
  4. VehicleId: str = Field(...)
  5. Description: str = Field(...)
  6. Date: datetime = Field(...)
  7. Cost: int = Field(...)
  8. FuelRefilled: int = Field(...)
  9. GasStationName: str = Field(...)
  10. ImageBefore: str = Field(...)
  11. ImageAfter: str = Field(...)