// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================

package entity

import (
	"github.com/gogf/gf/v2/os/gtime"
)

// Activity is the golang structure for table activity.
type Activity struct {
	Id           int         `json:"id"           orm:"id"           description:"id"`
	Title        string      `json:"title"        orm:"title"        description:"活动标题"`
	Introduction string      `json:"introduction" orm:"introduction" description:"活动介绍"`
	Cover        string      `json:"cover"        orm:"cover"        description:"活动封面图"`
	Video        string      `json:"video"        orm:"video"        description:"活动视频"`
	StartTime    string      `json:"startTime"    orm:"start_time"   description:"活动开始时间"`
	EndTime      string      `json:"endTime"      orm:"end_time"     description:"活动结束时间"`
	CategoryId   int         `json:"categoryId"   orm:"category_id"  description:"分类id"`
	Revision     int         `json:"revision"     orm:"revision"     description:"乐观锁"`
	CreatedBy    int         `json:"createdBy"    orm:"created_by"   description:"创建人"`
	CreatedTime  *gtime.Time `json:"createdTime"  orm:"created_time" description:"创建时间"`
	UpdatedBy    int         `json:"updatedBy"    orm:"updated_by"   description:"更新人"`
	UpdatedTime  *gtime.Time `json:"updatedTime"  orm:"updated_time" description:"更新时间"`
}
