sls.py 436 Bytes
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
import dataclasses
Wei Shoulin's avatar
Wei Shoulin committed
2
3
4
from typing import Dict
from .common import BaseModel, default_field

Wei Shoulin's avatar
Wei Shoulin committed
5
@dataclasses.dataclass
Wei Shoulin's avatar
Wei Shoulin committed
6
7
class Level2Spectra(BaseModel):
    id: int = 0
Wei Shoulin's avatar
Wei Shoulin committed
8
    level0_id: str = ''
Wei Shoulin's avatar
Wei Shoulin committed
9
10
11
12
13
14
15
16
17
18
19
    spectra_id : str = ""
    level1_id: int=0
    region: 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=""