26 lines
1.4 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"
)
// LessonSection is the golang structure for table lesson_section.
type LessonSection struct {
Id int64 `json:"id" orm:"id" description:"id"`
LessonId int64 `json:"lessonId" orm:"lesson_id" description:"课程id"`
VideoUrl string `json:"videoUrl" orm:"video_url" description:"视频url"`
Name string `json:"name" orm:"name" description:"章节名"`
SortOrder int `json:"sortOrder" orm:"sort_order" description:"排序号"`
ParentId int `json:"parentId" orm:"parent_id" description:"父章节id"`
Level int `json:"level" orm:"level" description:"章节层级"`
Revision int `json:"revision" orm:"revision" 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:"更新时间"`
}