Documentation
¶
Index ¶
- type TaskAttributeService
- func (s *TaskAttributeService) CreateTaskAttribute(data *models.TaskAttributeModel) error
- func (s *TaskAttributeService) DeleteTaskAttribute(id string) error
- func (s *TaskAttributeService) GetTaskAttributeByID(id string) (*models.TaskAttributeModel, error)
- func (s *TaskAttributeService) GetTaskAttributes(request *http.Request, search string) (paginate.Page, error)
- func (s *TaskAttributeService) UpdateTaskAttribute(id string, data *models.TaskAttributeModel) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskAttributeService ¶
type TaskAttributeService struct {
// contains filtered or unexported fields
}
func NewTaskAttibuteService ¶
func NewTaskAttibuteService(ctx *context.ERPContext) *TaskAttributeService
func (*TaskAttributeService) CreateTaskAttribute ¶
func (s *TaskAttributeService) CreateTaskAttribute(data *models.TaskAttributeModel) error
CreateTaskAttribute creates a new task attribute
func (*TaskAttributeService) DeleteTaskAttribute ¶
func (s *TaskAttributeService) DeleteTaskAttribute(id string) error
DeleteTaskAttribute deletes a task attribute by its ID
func (*TaskAttributeService) GetTaskAttributeByID ¶
func (s *TaskAttributeService) GetTaskAttributeByID(id string) (*models.TaskAttributeModel, error)
GetTaskAttributeByID retrieves a task attribute by its ID
func (*TaskAttributeService) GetTaskAttributes ¶
func (s *TaskAttributeService) GetTaskAttributes(request *http.Request, search string) (paginate.Page, error)
GetTaskAttributes retrieves a list of task attributes with pagination
func (*TaskAttributeService) UpdateTaskAttribute ¶
func (s *TaskAttributeService) UpdateTaskAttribute(id string, data *models.TaskAttributeModel) error
UpdateTaskAttribute updates an existing task attribute
Click to show internal directories.
Click to hide internal directories.