// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package learning import ( "lims_adapter/model" "lims_adapter/model/learning/internal" ) // LearningLearningRecord is the golang structure for table learning_learning_record. type LearningLearningRecord internal.LearningLearningRecord // Fill with you ideas below. type LearningLearningRecordListReq struct { Page *model.Page `json:"page"` OrderBy *model.OrderBy `json:"orderBy"` UserId int `json:"userId"` // 用户 Id MaterialId int `json:"materialId"` // 资料 Id Status int `json:"status"` // 状态 1 已学习 } type LearningLearningRecordGetRsp struct { LearningLearningRecord UserName string `json:"userName"` // 用户名称 SkillName string `json:"skillName"` // 技能名称 MaterialName string `json:"materialName"` // 资料名称 } type LearningLearningRecordAddReq struct { UserId int `json:"userId" v:"required#请输入用户Id"` // 用户 Id MaterialId int `json:"materialId" v:"required#请输入资料Id"` // 资料 Id Status int `json:"status" v:"required|int-in:1#请输入状态|请输入正确的状态类型"` // 状态 1 已学习 }