Answer the question
In order to leave comments, you need to log in
Income-expense accounting module - what to look for?
I am writing a module that will deal with the accounting of income and expenses.
Each income-expense has four properties:
- amount (in rubles) - required
- user id - required
- foreign key - optional
- status (pending|confirmed|canceled) - required
foreign key is needed to bind to the entity on which money is spent.
transaction statuses are related to the status of the external entity (if the external entity has been confirmed, then all its transactions have been confirmed).
How to better organize the code, " based on the fact that all programmers who will maintain the program are psychopaths prone to violence"and crooked monkeys? What should I pay attention to when designing to ensure data integrity?
Answer the question
In order to leave comments, you need to log in
User ID
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question