NewsBro / model /bulletpoint.py
Michel Maalouli
add app files
9575051
raw
history blame contribute delete
312 Bytes
class BulletPoint:
def __init__(self, id: int, value: str, sources: [str]):
self.id = id
self.value = value
self.sources = sources
def serialize(self):
return {
"id": self.id,
"value": self.value,
"sources": self.sources
}