Documentation
¶
Index ¶
- func Migrate(db *gorm.DB) error
- type WorkShiftService
- func (a *WorkShiftService) CreateWorkShift(m *models.WorkShiftModel) error
- func (a *WorkShiftService) DeleteWorkShift(id string) error
- func (a *WorkShiftService) FindAllWorkShift(request *http.Request) (paginate.Page, error)
- func (a *WorkShiftService) FindWorkShiftByID(id string) (*models.WorkShiftModel, error)
- func (a *WorkShiftService) UpdateWorkShift(id string, m *models.WorkShiftModel) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (*WorkShiftService) FindWorkShiftByID ¶
func (a *WorkShiftService) FindWorkShiftByID(id string) (*models.WorkShiftModel, error)
func (*WorkShiftService) UpdateWorkShift ¶
func (a *WorkShiftService) UpdateWorkShift(id string, m *models.WorkShiftModel) error
Click to show internal directories.
Click to hide internal directories.