return ScheduleVideoUpdateModel.findAll(query)
}
+ static deleteByVideoId (videoId: number, t: Transaction) {
+ const query = {
+ where: {
+ videoId
+ },
+ transaction: t
+ }
+
+ return ScheduleVideoUpdateModel.destroy(query)
+ }
+
toFormattedJSON () {
return {
updateAt: this.updateAt,