from enum import Enum class AccountType(Enum): Asset = "Asset" # < Denotes a generic asset account. Checkings = "Checkings" # < Standard checking account Savings = "Savings" # < Typical savings account Cash = "Cash" # < Denotes a shoe-box or pillowcase stuffed with cash Liability = "Liability" # < Denotes a generic liability account. CreditCard = "CreditCard" # < Credit card accounts Loan = "Loan" # < Loan and mortgage accounts (liability) CertificateDep = "CertificateDep" # < Certificates of Deposit Investment = "Investment" # < Investment account MoneyMarket = "MoneyMarket" # < Money Market Account Currency = "Currency" # < Denotes a currency trading account. AssetLoan = "AssetLoan" # < Denotes a loan (asset of the owner of this object) Stock = "Stock" # < Denotes an security account as sub-account for an investment Income = "Income" # < Denotes an income account Expense = "Expense" # < Denotes an expense account Equity = "Equity" # < Denotes an equity account e.g. opening/closing balance class AccountFamily(Enum): Asset = "Asset" Liability = "Liability" class CategoryFamily(Enum): Income = "Income" Expense = "Expense" class Asset(Enum): Asset = "Asset" Checking = "Checking" Savings = "Savings" Cash = "Cash" Investment = "Investment" class Liability(Enum): Liability = "Liability" CreditCard = "CreditCard" Loan = "Loan"