You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
783 B

package entity
type ChannelCopy struct {
Id int
ChannelId string
ChannelTitle string
ChannelLanguage string
ChannelReptileTime *string
Is_Copy int
}
type Channel struct {
Id uint `gorm:"column:id;primaryKey;autoIncrement"`
ChannelId string `gorm:"column:channelId;type:varchar(255);not null"`
ChannelTitle string `gorm:"column:channelTitle;type:varchar(255);not null"`
ChannelLanguage string `gorm:"column:channelLanguage;type:varchar(255);not null"`
ChannelReptileTime *string `gorm:"column:channelReptileTime;type:varchar(255);default:null"`
Region string `gorm:"column:region;type:varchar(255);default:null"`
}
func (Channel) TableName() string {
return "Channel"
}