Documentation ¶
Index ¶
- type EmployeeService
- func (s *EmployeeService) CreateEmployee(payload *input.CreateEmployeeDTO) error
- func (s *EmployeeService) DeleteEmployee(payload *input.DeleteEmployeeDTO) error
- func (s *EmployeeService) GetEmployee(payload *input.GetEmployeeDTO) (output.GetEmployeeDTO, error)
- func (s *EmployeeService) GetListEmployee(payload *input.GetListEmployeeDTO) (output.GetListEmployeeDTO, *pkg_types.Meta, error)
- func (s *EmployeeService) UpdateEmployee(payload *input.UpdateEmployeeDTO) error
- type IEmployeeService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmployeeService ¶
type EmployeeService struct {
EmployeeResource resource.IEmployeeResource
}
func (*EmployeeService) CreateEmployee ¶
func (s *EmployeeService) CreateEmployee(payload *input.CreateEmployeeDTO) error
func (*EmployeeService) DeleteEmployee ¶
func (s *EmployeeService) DeleteEmployee(payload *input.DeleteEmployeeDTO) error
func (*EmployeeService) GetEmployee ¶
func (s *EmployeeService) GetEmployee(payload *input.GetEmployeeDTO) (output.GetEmployeeDTO, error)
func (*EmployeeService) GetListEmployee ¶
func (s *EmployeeService) GetListEmployee(payload *input.GetListEmployeeDTO) (output.GetListEmployeeDTO, *pkg_types.Meta, error)
func (*EmployeeService) UpdateEmployee ¶
func (s *EmployeeService) UpdateEmployee(payload *input.UpdateEmployeeDTO) error
type IEmployeeService ¶
type IEmployeeService interface { CreateEmployee(payload *input.CreateEmployeeDTO) error UpdateEmployee(payload *input.UpdateEmployeeDTO) error DeleteEmployee(payload *input.DeleteEmployeeDTO) error GetListEmployee(payload *input.GetListEmployeeDTO) (output.GetListEmployeeDTO, *pkg_types.Meta, error) GetEmployee(payload *input.GetEmployeeDTO) (output.GetEmployeeDTO, error) }
func InitEmployeeService ¶
func InitEmployeeService(employeeResource resource.IEmployeeResource) IEmployeeService
Source Files ¶
Click to show internal directories.
Click to hide internal directories.