websoft9/appmanage/api/model/app.py

15 lines
347 B
Python
Raw Normal View History

2023-02-21 14:21:53 +08:00
from pydantic import BaseModel
2023-04-16 10:54:49 +08:00
from api.model.running_info import RunningInfo
from api.model.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-04-15 16:39:33 +08:00
status_reason: StatusReason
2023-03-28 13:45:06 +08:00
official_app: bool
2023-04-15 16:39:33 +08:00
image_url: str
2023-04-14 11:13:52 +08:00
running_info: RunningInfo