12 lines
232 B
Python
12 lines
232 B
Python
from collections import namedtuple
|
|
|
|
Transaction = namedtuple(
|
|
'Transaction', [
|
|
'amount',
|
|
'name',
|
|
'iban',
|
|
'description',
|
|
'datetime',
|
|
'after_balance',
|
|
'before_balance'
|
|
]) |