123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- package yb_activity
- import (
- "time"
- )
- type YbActivity struct {
- ActivityID int `gorm:"primaryKey;column:activity_id;type:int(11);not null" json:"activityID"`
- FirstActivityTypeID int `gorm:"index:activity_type_id;column:first_activity_type_id;type:int(100);not null;default:0" json:"firstActivityTypeId"`
- FirstActivityTypeName string `gorm:"column:first_activity_type_name;type:varchar(30);not null;default:''" json:"firstActivityTypeName"`
- ActivityTypeID int `gorm:"column:activity_type_id;type:int(100);not null;default:0" json:"activityTypeId"`
- ActivityTypeName string `gorm:"column:activity_type_name;type:varchar(30);not null;default:''" json:"activityTypeName"`
- ActivityName string `gorm:"column:activity_name;type:text;not null" json:"activityName"`
- StartTime time.Time `gorm:"column:start_time;type:datetime" json:"startTime"`
- EndTime time.Time `gorm:"column:end_time;type:datetime" json:"endTime"`
- Speaker string `gorm:"column:speaker;type:varchar(255);not null;default:''" json:"speaker"`
- SpeakerHeadPic string `gorm:"column:speaker_head_pic;type:varchar(255);not null;default:''" json:"speakerHeadPic"`
- SpeakerBackgroundPic string `gorm:"column:speaker_background_pic;type:varchar(255);not null;default:''" json:"speakerBackgroundPic"`
- MainlandTel string `gorm:"column:mainland_tel;type:varchar(255);not null;default:''" json:"mainlandTel"`
- HongKongTel string `gorm:"column:hong_kong_tel;type:varchar(255);not null;default:''" json:"hongKongTel"`
- TaiwanTel string `gorm:"column:taiwan_tel;type:varchar(255);not null;default:''" json:"taiwanTel"`
- AmericaTel string `gorm:"column:america_tel;type:varchar(255);not null;default:''" json:"americaTel"`
- SingaporeTel string `gorm:"column:singapore_tel;type:varchar(255);not null;default:''" json:"singaporeTel"`
- ParticipationCode string `gorm:"column:participation_code;type:varchar(255);not null;default:''" json:"participationCode"`
- LinkParticipants string `gorm:"column:link_participants;type:longtext;not null" json:"linkParticipants"`
- IsLimitPeople int8 `gorm:"index:is_limit_people;column:is_limit_people;type:tinyint(4);not null;default:0" json:"isLimitPeople"`
- LimitPeopleNum int `gorm:"column:limit_people_num;type:int(9);not null;default:0" json:"limitPeopleNum"`
- ReportID int `gorm:"column:report_id;type:int(11);not null;default:0" json:"reportId"`
- ReportLink string `gorm:"column:report_link;type:varchar(255);not null;default:''" json:"reportLink"`
- ReportName string `gorm:"column:report_name;type:varchar(255);not null;default:''" json:"reportName"`
- City string `gorm:"column:city;type:varchar(255);not null;default:''" json:"city"`
- Address string `gorm:"column:address;type:varchar(255);not null;default:''" json:"address"`
- Remarks string `gorm:"column:remarks;type:text;not null" json:"remarks"`
- UserID int `gorm:"column:user_id;type:int(9);not null;default:0" json:"userId"`
- PublishStatus int8 `gorm:"index:publish_status;column:publish_status;type:tinyint(4);not null;default:0" json:"publishStatus"`
- IsSendWxMsg int8 `gorm:"column:is_send_wx_msg;type:tinyint(4);not null;default:0" json:"isSendWxMsg"`
- IsSendSalonWxMsg int8 `gorm:"column:is_send_salon_wx_msg;type:tinyint(4);not null;default:0" json:"isSendSalonWxMsg"`
- IsDelete int8 `gorm:"column:is_delete;type:tinyint(4);not null;default:0" json:"isDelete"`
- ModifyTime time.Time `gorm:"column:modify_time;type:timestamp;not null;default:CURRENT_TIMESTAMP" json:"modifyTime"`
- CreateTime time.Time `gorm:"index:create_time;column:create_time;type:datetime;default:CURRENT_TIMESTAMP" json:"createTime"`
- IsNewReport int `gorm:"column:is_new_report;type:tinyint(4);not null;default:0" json:"isNewReport"`
- }
- func (m *YbActivity) TableName() string {
- return "yb_activity"
- }
- var YbActivityColumns = struct {
- ActivityID string
- FirstActivityTypeID string
- FirstActivityTypeName string
- ActivityTypeID string
- ActivityTypeName string
- ActivityName string
- StartTime string
- EndTime string
- Speaker string
- SpeakerHeadPic string
- SpeakerBackgroundPic string
- MainlandTel string
- HongKongTel string
- TaiwanTel string
- AmericaTel string
- SingaporeTel string
- ParticipationCode string
- LinkParticipants string
- IsLimitPeople string
- LimitPeopleNum string
- ReportID string
- ReportLink string
- ReportName string
- City string
- Address string
- Remarks string
- UserID string
- PublishStatus string
- IsSendWxMsg string
- IsSendSalonWxMsg string
- IsDelete string
- ModifyTime string
- CreateTime string
- IsNewReport string
- }{
- ActivityID: "activity_id",
- FirstActivityTypeID: "first_activity_type_id",
- FirstActivityTypeName: "first_activity_type_name",
- ActivityTypeID: "activity_type_id",
- ActivityTypeName: "activity_type_name",
- ActivityName: "activity_name",
- StartTime: "start_time",
- EndTime: "end_time",
- Speaker: "speaker",
- SpeakerHeadPic: "speaker_head_pic",
- SpeakerBackgroundPic: "speaker_background_pic",
- MainlandTel: "mainland_tel",
- HongKongTel: "hong_kong_tel",
- TaiwanTel: "taiwan_tel",
- AmericaTel: "america_tel",
- SingaporeTel: "singapore_tel",
- ParticipationCode: "participation_code",
- LinkParticipants: "link_participants",
- IsLimitPeople: "is_limit_people",
- LimitPeopleNum: "limit_people_num",
- ReportID: "report_id",
- ReportLink: "report_link",
- ReportName: "report_name",
- City: "city",
- Address: "address",
- Remarks: "remarks",
- UserID: "user_id",
- PublishStatus: "publish_status",
- IsSendWxMsg: "is_send_wx_msg",
- IsSendSalonWxMsg: "is_send_salon_wx_msg",
- IsDelete: "is_delete",
- ModifyTime: "modify_time",
- CreateTime: "create_time",
- IsNewReport: "is_new_report",
- }
|