| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package learning
- import (
- "lims_adapter/model/equipment"
- "lims_adapter/model/learning/internal"
- )
- // LearningSkill is the golang structure for table learning_skill.
- type LearningSkill internal.LearningSkill
- // Fill with you ideas below.
- type LearningSkillAddReq struct {
- Name string `json:"name" v:"required#请输入技能名称"` // 技能名称
- InstrumentId []int `json:"instrumentId"` // 绑定设备 Id
- }
- type LearningSkillGetReq struct {
- Id int `json:"id"` // Id
- Name string `json:"name"` // 技能名称
- }
- type LearningSkillGetRsp struct {
- Id int `json:"id"` // Id
- Name string `json:"name"` // 技能名称
- Instrument []equipment.Instrument `json:"instrument"` // 技能名称
- }
- type LearningSkillUpdateReq struct {
- Id int `json:"id" v:"required#请输入技能Id"` // 技能名称
- Name string `json:"name"` // 技能名称
- InstrumentId *[]int `json:"instrumentId"` // 绑定设备 Id
- }
- type LearningSkillDeleteReq struct {
- Id int `json:"id" v:"required#请输入技能Id"` // 技能名称
- }
|