// 自动生成模板CourseList
package course

import (
	"courseSign/server/global"
	
)

// CourseList 结构体
type CourseList struct {
      global.GVA_MODEL
      CourseName  string `json:"courseName" form:"courseName" gorm:"column:course_name;comment:课程名称;size:128;"`
      CourseDesc  string `json:"courseDesc" form:"courseDesc" gorm:"column:course_desc;comment:课程描述;"`
      CourseBanner  string `json:"courseBanner" form:"courseBanner" gorm:"column:course_banner;comment:banner图;size:128;"`
      IsShow  *bool `json:"isShow" form:"isShow" gorm:"column:is_show;comment:状态 0 不显示 1 显示;"`

      Address string `json:"address" form:"address" gorm:"-"`
      IsSign bool `json:"isSign" form:"isSign" gorm:"-"`
      IsPass bool `json:"isPass" form:"isPass" gorm:"-" `
}


// TableName CourseList 表名
func (CourseList) TableName() string {
  return "course_list"
}

type CourseDetailInfo struct {
      CourseList
      ActionList []CourseAction
}