34 lines
2.2 KiB
Go
Executable File
34 lines
2.2 KiB
Go
Executable File
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// Lesson is the golang structure for table lesson.
|
|
type Lesson struct {
|
|
Id int64 `json:"id" orm:"id" description:"id"`
|
|
Name string `json:"name" orm:"name" description:"课程名"`
|
|
Cover string `json:"cover" orm:"cover" description:"封面图"`
|
|
CategoryId int64 `json:"categoryId" orm:"category_id" description:"分类id"`
|
|
Video string `json:"video" orm:"video" description:"介绍视频"`
|
|
School string `json:"school" orm:"school" description:"所属学校"`
|
|
Description string `json:"description" orm:"description" description:"课程概述"`
|
|
Target string `json:"target" orm:"target" description:"授课目标"`
|
|
Outline string `json:"outline" orm:"outline" description:"课程大纲"`
|
|
Prerequisite string `json:"prerequisite" orm:"prerequisite" description:"预备知识"`
|
|
Reference string `json:"reference" orm:"reference" description:"参考资料"`
|
|
Arrangement string `json:"arrangement" orm:"arrangement" description:"学时安排"`
|
|
StartTime *gtime.Time `json:"startTime" orm:"start_time" description:"开课时间"`
|
|
EndTime *gtime.Time `json:"endTime" orm:"end_time" description:"结课时间"`
|
|
Revision int `json:"revision" orm:"revision" description:"乐观锁"`
|
|
Question string `json:"question" orm:"question" description:"常见问题"`
|
|
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建人"`
|
|
CreatedTime *gtime.Time `json:"createdTime" orm:"created_time" description:"创建时间"`
|
|
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新人"`
|
|
UpdatedTime *gtime.Time `json:"updatedTime" orm:"updated_time" description:"更新时间"`
|
|
}
|