6
0

learning_skill.go 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package learning
  5. import (
  6. "lims_adapter/model/equipment"
  7. "lims_adapter/model/learning/internal"
  8. )
  9. // LearningSkill is the golang structure for table learning_skill.
  10. type LearningSkill internal.LearningSkill
  11. // Fill with you ideas below.
  12. type LearningSkillAddReq struct {
  13. Name string `json:"name" v:"required#请输入技能名称"` // 技能名称
  14. InstrumentId []int `json:"instrumentId"` // 绑定设备 Id
  15. }
  16. type LearningSkillGetReq struct {
  17. Id int `json:"id"` // Id
  18. Name string `json:"name"` // 技能名称
  19. }
  20. type LearningSkillGetRsp struct {
  21. Id int `json:"id"` // Id
  22. Name string `json:"name"` // 技能名称
  23. Instrument []equipment.Instrument `json:"instrument"` // 技能名称
  24. }
  25. type LearningSkillUpdateReq struct {
  26. Id int `json:"id" v:"required#请输入技能Id"` // 技能名称
  27. Name string `json:"name"` // 技能名称
  28. InstrumentId *[]int `json:"instrumentId"` // 绑定设备 Id
  29. }
  30. type LearningSkillDeleteReq struct {
  31. Id int `json:"id" v:"required#请输入技能Id"` // 技能名称
  32. }