websoft9/appmanage/api/model/app.py

13 lines
307 B
Python
Raw Normal View History

2023-02-21 14:21:53 +08:00
from pydantic import BaseModel
2023-04-14 11:13:52 +08:00
from running_info import RunningInfo
from status_reason import StatusReason
2023-02-21 14:21:53 +08:00
class App(BaseModel):
2023-03-15 11:57:52 +08:00
app_id: str
2023-04-14 11:13:52 +08:00
app_name: str
2023-03-14 11:01:54 +08:00
customer_name: str
2023-03-08 15:00:02 +08:00
trade_mark: str
2023-02-21 14:21:53 +08:00
status: str
2023-03-28 13:45:06 +08:00
official_app: bool
2023-04-14 11:13:52 +08:00
running_info: RunningInfo
status_reason: StatusReason