ifs.py 526 Bytes
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
2
3
4
5
6
7
8
9

import dataclasses
from .common import BaseModel

@dataclasses.dataclass
class Level1Record(BaseModel):
    id: int = 0
    raw_id : int = 0
    data_type: str=""
Wei Shoulin's avatar
mc3    
Wei Shoulin committed
10
    cor_sci_id: int = 0
Wei Shoulin's avatar
Wei Shoulin committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
    prc_params: str=""
    flat_id: int = 0
    dark_id: int = 0
    bias_id: int = 0
    lamp_id: int = 0
    arc_id: int = 0
    sky_id: int = 0
    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=""