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"
}