const Sequelize = require("sequelize");
const sequelizeConnect = require("../connection/db");

const SellerUnivTopicVideosWatchHistory = sequelizeConnect.define(
  "seller_univ_topic_videos_watch_history",
  {
    id: {
      type: Sequelize.BIGINT,
      primaryKey: true,
      allowNull: false,
      autoIncrement: true,
    },
    seller_univ_topic_videos_id: {
      type: Sequelize.BIGINT,
      allowNull: false,
    },
    seller_id: {
      type: Sequelize.BIGINT,
      allowNull: false,
    },
    seller_account_id: {
      type: Sequelize.BIGINT,
      allowNull: false,
    },
  },
  {
    tableName: "seller_univ_topic_videos_watch_history",
    timestamps: true,
  }
);

module.exports = SellerUnivTopicVideosWatchHistory;
