diff --git a/csst_dfs_commons/models/hstdm.py b/csst_dfs_commons/models/hstdm.py index 587f9499f17bac57eceb5bb391178649a076b67f..25665e99f1367b8b8e08938551b33a421f3d10f1 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=""