From 0cee919547e19d9f31ee0e0e9e2d11b608cd85cc Mon Sep 17 00:00:00 2001 From: shoulinwei Date: Thu, 20 Jul 2023 21:14:27 +0800 Subject: [PATCH] hstdm l2 --- csst_dfs_commons/models/hstdm.py | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/csst_dfs_commons/models/hstdm.py b/csst_dfs_commons/models/hstdm.py index 587f949..25665e9 100644 --- a/csst_dfs_commons/models/hstdm.py +++ b/csst_dfs_commons/models/hstdm.py @@ -1,4 +1,18 @@ import dataclasses -from typing import Dict -from .common import BaseModel, default_field - +from .common import BaseModel + +@dataclasses.dataclass +class Level2Data(BaseModel): + id: int = 0 + level0_id: str = '' + level1_id: int=0 + project_id: int=0 + file_type: str="" + filename : str="" + file_path: str="" + qc2_status: int = 0 + qc2_time: str="" + prc_status: int = 0 + prc_time: str="" + create_time: str="" + pipeline_id: str="" -- GitLab