16 lines
325 B
Python
16 lines
325 B
Python
|
A
|
from dataclasses import dataclass
|
||
|
|
from datetime import datetime
|
||
|
|
from typing import Optional
|
||
|
|
|
||
|
|
|
||
|
|
@dataclass
|
||
|
|
class Subscriber:
|
||
|
|
id: Optional[int]
|
||
|
|
imsi: str
|
||
|
|
iccid: str
|
||
|
|
ki: str # hex string
|
||
|
|
opc: str # hex string
|
||
|
|
mac_address: Optional[str]
|
||
|
|
created_at: datetime
|
||
|
|
synced_to_core: bool
|