first commit

This commit is contained in:
2024-07-15 17:55:45 -04:00
commit 853529b871
23 changed files with 454 additions and 0 deletions

21
app/schema/money.py Normal file
View File

@@ -0,0 +1,21 @@
from pydantic import BaseModel, Field
from datetime import datetime, timezone
def datetime_now() -> datetime:
return datetime.now(timezone.utc)
class SchemaMoney(BaseModel):
delivery_id: int
time_added: datetime
gallons_delivered: float
supplier_price: float
customer_price: float
total_amount_oil: float
total_amount_prime: float
total_amount_same_day: float
total_amount_fee: float
total_amount: float
taxes_paid: float
total_profit: float