work_shift

package
v1.0.45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(db *gorm.DB) error

Types

type WorkShiftService

type WorkShiftService struct {
	// contains filtered or unexported fields
}

func NewWorkShiftService

func NewWorkShiftService(ctx *context.ERPContext, employeeService *employee.EmployeeService) *WorkShiftService

func (*WorkShiftService) CreateWorkShift

func (a *WorkShiftService) CreateWorkShift(m *models.WorkShiftModel) error

func (*WorkShiftService) DeleteWorkShift

func (a *WorkShiftService) DeleteWorkShift(id string) error

func (*WorkShiftService) FindAllWorkShift

func (a *WorkShiftService) FindAllWorkShift(request *http.Request) (paginate.Page, error)

func (*WorkShiftService) FindWorkShiftByID

func (a *WorkShiftService) FindWorkShiftByID(id string) (*models.WorkShiftModel, error)

func (*WorkShiftService) UpdateWorkShift

func (a *WorkShiftService) UpdateWorkShift(id string, m *models.WorkShiftModel) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL