learning_exam_record.go 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  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"
  7. "lims_adapter/model/learning/internal"
  8. )
  9. // LearningExamRecord is the golang structure for table learning_exam_record.
  10. type LearningExamRecord internal.LearningExamRecord
  11. // Fill with you ideas below.
  12. type LearningExamRecordListReq struct {
  13. Page *model.Page `json:"page"`
  14. OrderBy *model.OrderBy `json:"orderBy"`
  15. UserId int `json:"userId"` // 用户 Id
  16. SkillId int `json:"skillId"` // 技能 Id
  17. TestpaperId int `json:"testpaperId"` // 试卷 Id
  18. Status int `json:"status"` // 状态 1 通过 2 未通过
  19. }
  20. type LearningExamRecordGetRsp struct {
  21. LearningExamRecord
  22. UserName string `json:"userName"` // 用户名称
  23. SkillName string `json:"skillName"` // 技能名称
  24. TestpaperName string `json:"testpaperName"` // 试卷名称
  25. }
  26. type LearningExamRecordAddReq struct {
  27. UserId int `json:"userId" v:"required#请输入用户Id"` // 用户 Id
  28. SkillId int `json:"skillId" v:"required#请输入技能Id"` // 技能 Id
  29. TestpaperId int `json:"testpaperId" v:"required#请输入试卷Id"` // 试卷 Id
  30. Status int `json:"status" v:"required|int-in:1,2#请输入状态|请输入正确的状态类型"` // 状态 1 通过 2 未通过
  31. }