// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.

package model

import (
	"time"
)

const TableNameActivityMember = "activity_member"

// ActivityMember mapped from table <activity_member>
type ActivityMember struct {
	ID           int32     `gorm:"column:id;primaryKey;autoIncrement:true;comment:Primary Key" json:"id"` // Primary Key
	ActivityID   int32     `gorm:"column:activityId" json:"activityId"`
	UserID       int64     `gorm:"column:userId" json:"userId"`
	MemberID     int64     `gorm:"column:memberId" json:"memberId"`
	Avatar       string    `gorm:"column:avatar" json:"avatar"`
	Nickname     string    `gorm:"column:nickname" json:"nickname"`
	Realname     string    `gorm:"column:realname" json:"realname"`
	Sex          string    `gorm:"column:sex" json:"sex"`
	Phone        string    `gorm:"column:phone" json:"phone"`
	Level        string    `gorm:"column:level" json:"level"`
	GroupName    string    `gorm:"column:groupName" json:"groupName"`
	IsSubstitute int64     `gorm:"column:isSubstitute" json:"isSubstitute"`
	IsHangPeople int64     `gorm:"column:isHangPeople" json:"isHangPeople"`
	PayStatus    string    `gorm:"column:payStatus" json:"payStatus"`
	PayType      string    `gorm:"column:payType" json:"payType"`
	PayAmount    string    `gorm:"column:payAmount" json:"payAmount"`
	CreateTime   time.Time `gorm:"column:createTime;comment:Create Time" json:"createTime"` // Create Time
	UpdateTime   time.Time `gorm:"column:updateTime;comment:Update Time" json:"updateTime"` // Update Time
}

// TableName ActivityMember's table name
func (*ActivityMember) TableName() string {
	return TableNameActivityMember
}
