17 lines
321 B
Python
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
|
|
|