// 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 TableNameChapterSync = "chapter_sync" // ChapterSync mapped from table type ChapterSync struct { ID int64 `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"` ChapterID int64 `gorm:"column:chapter_id;type:bigint(20);not null" json:"chapter_id"` // 章节ID ServerID int32 `gorm:"column:server_id;type:int(11);not null;index:server_id,priority:1;default:1" json:"server_id"` // 服务器ID LastID int64 `gorm:"column:last_id;type:bigint(20);not null" json:"last_id"` // 最后同步ID LastSyncTime time.Time `gorm:"column:last_sync_time;type:datetime;not null" json:"last_sync_time"` // 最后同步时间 UpdatedAt time.Time `gorm:"column:updated_at;type:datetime;not null" json:"updated_at"` // 更新时间 Difficulty int32 `gorm:"column:difficulty;type:int(11);not null" json:"difficulty"` } // TableName ChapterSync's table name func (*ChapterSync) TableName() string { return TableNameChapterSync }