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.
 
 

13 rivejä
369 B

  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(...)