| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- // ==========================================================================
- // 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"` // 技能 Id
- Name string `json:"name"` // 技能名称
- InstrumentId *[]int `json:"instrumentId"` // 绑定设备 Id
- }
- type LearningSkillDeleteReq struct {
- Id []int `json:"id" v:"required#请输入技能Id"` // 技能名称
- }
- type LearningSkillMy struct {
- LearningSkill
- LearntAll bool `json:"learntAll"` // 是否学完所有课程
- }
|