sls.py 374 Bytes
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
import dataclasses
Wei Shoulin's avatar
Wei Shoulin committed
2
from .common import BaseModel
Wei Shoulin's avatar
Wei Shoulin committed
3

Wei Shoulin's avatar
Wei Shoulin committed
4
@dataclasses.dataclass
Wei Shoulin's avatar
Wei Shoulin committed
5
6
class Level2Spectra(BaseModel):
    id: int = 0
Wei Shoulin's avatar
Wei Shoulin committed
7
    level0_id: str = ''
Wei Shoulin's avatar
Wei Shoulin committed
8
    level1_id: int=0
Wei Shoulin's avatar
Wei Shoulin committed
9
    file_type: str=""
Wei Shoulin's avatar
Wei Shoulin committed
10
11
    filename : str=""
    file_path: str=""
Wei Shoulin's avatar
Wei Shoulin committed
12
13
    qc2_status: int = 0
    qc2_time: str=""
Wei Shoulin's avatar
Wei Shoulin committed
14
15
16
17
    prc_status: int = 0
    prc_time: str=""
    create_time: str=""
    pipeline_id: str=""