Files
xerus/xerus/notes.py
2020-03-31 15:31:56 +02:00

17 lines
321 B
Python

# -*- coding: utf-8 -*-
from enum import Enum
Category = Enum('Category', 'SANTE COMPORTEMENT QUOTIDIEN ACTIVITE INFOS')
@dataclass
class Note:
""" A chunk of text related to a subject and a category
It contains the content of a cell in xls table
"""
subject: str
category: int
text: str