2023-02-21 14:21:53 +08:00
|
|
|
from pydantic import BaseModel
|
2023-04-18 14:04:51 +08:00
|
|
|
from api.model.config import Config
|
2023-04-16 10:54:49 +08:00
|
|
|
from api.model.status_reason import StatusReason
|
2023-02-21 14:21:53 +08:00
|
|
|
|
|
|
|
class App(BaseModel):
|
2023-05-19 17:54:31 +08:00
|
|
|
app_id: str
|
|
|
|
app_name: str
|
|
|
|
customer_name: str
|
|
|
|
trade_mark: str
|
|
|
|
status: str
|
2023-04-18 14:04:51 +08:00
|
|
|
status_reason: StatusReason = None
|
2023-03-28 13:45:06 +08:00
|
|
|
official_app: bool
|
2023-05-19 17:54:31 +08:00
|
|
|
app_version: str
|
|
|
|
create_time: str
|
2023-05-20 14:40:54 +08:00
|
|
|
volume_data : str
|
|
|
|
config_path : str
|
2023-05-19 17:54:31 +08:00
|
|
|
image_url: str
|
2023-05-18 11:45:59 +08:00
|
|
|
app_https: bool
|
|
|
|
app_replace_url: bool
|
2023-05-20 14:40:54 +08:00
|
|
|
config: Config = None
|