from app.models import Salary class SalaryService: @classmethod def add_salary_data(cls,data): """ Add a new salary data entry. """ return Salary.add_salary_data(data) @classmethod def get_pending_salaries(cls): """ Get the pending salary for a given customer. """ return Salary.get_pending_salaries() @classmethod def update_status(cls, salary_id, status): """ Update the status of the salary with the given salary_id. """ return Salary.update_status(salary_id, status)