models.py 286 B

123456789101112131415161718
  1. from pydantic import BaseModel
  2. class TransactionNft(BaseModel):
  3. fromuser: str
  4. address: str
  5. dic: dict
  6. class BuyNft(BaseModel):
  7. address: str
  8. dic:dict
  9. class NftDrops(BaseModel):
  10. userid: str
  11. email: str
  12. class callBack(BaseModel):
  13. type: str
  14. data: dict