// 自动生成模板CourseActionUsers
package course

import (
	"time"

	"courseSign/server/global"
)

// CourseActionUsers 结构体
type CourseActionUsers struct {
      global.GVA_MODEL
      Uid  *int `json:"uid" form:"uid" gorm:"column:uid;comment:用户;size:10;"`
      Cid  *int `json:"cid" form:"cid" gorm:"column:cid;comment:课程;size:10;"`
      Aid  *int `json:"aid" form:"aid" gorm:"column:aid;comment:活动编号;size:10;"`
      IsSign  *bool `json:"isSign" form:"isSign" gorm:"column:is_sign;default:0;comment:签到 0 未签到 1 已签到;"`
      SignDate  *time.Time `json:"signDate" form:"signDate" gorm:"column:sign_date;comment:签到日期;"`

      Addr string `json:"addr" form:"addr" gorm:"-"`
      CourseName string `json:"courseName" form:"courseName" gorm:"-"`
      ActionName string `json:"actionName" form:"actionName" gorm:"-"`
      ActionBanner string `json:"actionBanner" form:"actionBanner" gorm:"-"`
      ActionStart  *time.Time `json:"actionStart" form:"actionStart" gorm:"-"`
      ActionEnd  *time.Time `json:"actionEnd" form:"actionEnd" gorm:"-"`
      IsShow  *bool `json:"isShow" form:"isShow" gorm:"-"`
}


// TableName CourseActionUsers 表名
func (CourseActionUsers) TableName() string {
  return "course_action_users"
}
