mirror of
https://github.com/cqwu-ehall/cqwu-ehall.git
synced 2024-11-22 02:55:33 +00:00
22 lines
343 B
Python
22 lines
343 B
Python
from datetime import datetime
|
|
from typing import List
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class PayBill(BaseModel):
|
|
id: str
|
|
amount: float
|
|
tradename: str
|
|
shopname: str
|
|
paytime: datetime
|
|
status: int
|
|
|
|
|
|
class PayBillPage(BaseModel):
|
|
pageno: int
|
|
totalpage: int
|
|
retcode: int
|
|
retmsg: str
|
|
dtls: List[PayBill]
|