capabilities.go 717 B

12345678910111213141516
  1. package services
  2. import (
  3. "project_management/app/e"
  4. "project_management/app/model"
  5. "project_management/unity"
  6. )
  7. type Capabilities interface {
  8. AddCapabilities(capabilities model.Capabilities) e.Rescode
  9. GetCapabilitiesList(params unity.CapQueryPageParams, capabilities model.Capabilities, queryCond interface{}) (result []model.Capabilities, total int64, err error)
  10. AdminGetCapabilitiesList(params unity.QueryPageParams, capabilities model.Capabilities, queryCond interface{}) (result []model.CapabilitiesDto, total int64, err error)
  11. GetCapabilitiesById(capid string) (model.Capabilities, e.Rescode)
  12. UpdateCapabilities(capabilities model.Capabilities) e.Rescode
  13. DeleteCapabilities(capid string) e.Rescode
  14. }