mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-14 02:58:45 +02:00
15 lines
365 B
Python
15 lines
365 B
Python
from abc import ABC
|
|
|
|
from models import Company
|
|
|
|
|
|
class CompanyServiceInterface(ABC):
|
|
def get_all(self) -> list[Company.Company]:
|
|
raise NotImplementedError()
|
|
|
|
def get_by_id(self, id: Company.CompayID) -> Company.Company | None:
|
|
raise NotImplementedError()
|
|
|
|
def insert(self, company: Company.Company):
|
|
raise NotImplementedError()
|