12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- package teleconference
- import (
- "time"
- )
- type Teleconference struct {
- TeleconferenceID uint64 `gorm:"primaryKey;column:teleconference_id;type:bigint(20) unsigned;not null" json:"-"`
- TeleconferenceTitle string `gorm:"index:teleconference_title;column:teleconference_title;type:varchar(32)" json:"teleconferenceTitle"`
- Type string `gorm:"index:type;column:type;type:varchar(30);not null" json:"type"`
- Speaker string `gorm:"column:speaker;type:varchar(30)" json:"speaker"`
- Telephone string `gorm:"column:telephone;type:varchar(30)" json:"telephone"`
- Password string `gorm:"column:password;type:varchar(30)" json:"password"`
- StartTime time.Time `gorm:"column:start_time;type:datetime" json:"startTime"`
- EndTime time.Time `gorm:"column:end_time;type:datetime" json:"endTime"`
- ReferResearchReportID int64 `gorm:"column:refer_research_report_id;type:bigint(20)" json:"referResearchReportId"`
- Enabled int8 `gorm:"index:enabled;column:enabled;type:tinyint(1);default:1" json:"enabled"`
- CreatedTime time.Time `gorm:"index:created_time;column:created_time;type:datetime;default:CURRENT_TIMESTAMP" json:"createdTime"`
- LastUpdatedTime time.Time `gorm:"index:last_updated_time;column:last_updated_time;type:timestamp;not null;default:CURRENT_TIMESTAMP" json:"lastUpdatedTime"`
- ReportPermissionID int `gorm:"column:report_permission_id;type:int(10);default:1" json:"reportPermissionId"`
- SingaporeTelephone string `gorm:"column:singapore_telephone;type:varchar(30)" json:"singaporeTelephone"`
- VideoURL string `gorm:"column:video_url;type:varchar(500)" json:"videoUrl"`
- VideoName string `gorm:"column:video_name;type:varchar(125);default:''" json:"videoName"`
- VideoPlaySeconds string `gorm:"column:video_play_seconds;type:varchar(255);default:''" json:"videoPlaySeconds"`
- Remark string `gorm:"column:remark;type:varchar(255);default:''" json:"remark"`
- HkTelephone string `gorm:"column:hk_telephone;type:varchar(30)" json:"hkTelephone"`
- }
- func (m *Teleconference) TableName() string {
- return "teleconference"
- }
- var TeleconferenceColumns = struct {
- TeleconferenceID string
- TeleconferenceTitle string
- Type string
- Speaker string
- Telephone string
- Password string
- StartTime string
- EndTime string
- ReferResearchReportID string
- Enabled string
- CreatedTime string
- LastUpdatedTime string
- ReportPermissionID string
- SingaporeTelephone string
- VideoURL string
- VideoName string
- VideoPlaySeconds string
- Remark string
- HkTelephone string
- }{
- TeleconferenceID: "teleconference_id",
- TeleconferenceTitle: "teleconference_title",
- Type: "type",
- Speaker: "speaker",
- Telephone: "telephone",
- Password: "password",
- StartTime: "start_time",
- EndTime: "end_time",
- ReferResearchReportID: "refer_research_report_id",
- Enabled: "enabled",
- CreatedTime: "created_time",
- LastUpdatedTime: "last_updated_time",
- ReportPermissionID: "report_permission_id",
- SingaporeTelephone: "singapore_telephone",
- VideoURL: "video_url",
- VideoName: "video_name",
- VideoPlaySeconds: "video_play_seconds",
- Remark: "remark",
- HkTelephone: "hk_telephone",
- }
|