msc.py 490 Bytes
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
2
3
4
from dataclasses import dataclass
from typing import Dict
from .common import BaseModel, default_field
@dataclass
Wei Shoulin's avatar
Wei Shoulin committed
5
6
class Level1Record(BaseModel):
    id: int = 0
Wei Shoulin's avatar
Wei Shoulin committed
7
    level0_id : str = ""
Wei Shoulin's avatar
Wei Shoulin committed
8
    data_type: str=""
Wei Shoulin's avatar
mc3    
Wei Shoulin committed
9
    cor_sci_id: int = 0
Wei Shoulin's avatar
Wei Shoulin committed
10
11
12
13
14
15
16
17
18
    prc_params: str=""
    filename : str=""
    file_path: str=""
    qc1_status: int = 0
    qc1_time: str=""
    prc_status: int = 0
    prc_time: str=""
    create_time: str=""
    pipeline_id: str=""
Wei Shoulin's avatar
Wei Shoulin committed
19
    refs: Dict[str,int] = default_field({})
Wei Shoulin's avatar
Wei Shoulin committed
20
21
22
23
24
25
26
27
28