{"size": 450, "ext": "js", "max_stars_repo_path": "api/models/class.js", "max_stars_repo_name": "bringmetheaxx/hyf-connect", "max_stars_repo_stars_event_min_datetime": "2021-12-07T11:00:39.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-19T13:51:17.000Z", "max_issues_repo_path": "api/models/class.js", "max_issues_repo_name": "Moamin-AbuEwaida/hyf-connect", "max_issues_repo_issues_event_min_datetime": "2021-12-07T09:59:28.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-20T10:40:24.000Z", "max_forks_repo_path": "api/models/class.js", "max_forks_repo_name": "Moamin-AbuEwaida/hyf-connect", "max_forks_repo_forks_event_min_datetime": "2021-11-29T19:49:51.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-30T17:55:29.000Z"}
{"max_stars_count": 5, "max_issues_count": 111, "max_forks_count": 4, "avg_line_length": 18.0, "max_line_length": 44, "alphanum_fraction": 0.5422222222}
const { DataTypes } = require("sequelize");
const sequelize = require("../db/db.js");

const Class = sequelize.define(
  "class",
  {
    ClassID: {
      type: DataTypes.BIGINT,
      allowNull: false,
      autoIncrement: true,
      primaryKey: true,
    },
    Name: {
      type: DataTypes.STRING(50),
      allowNull: false,
    },
  },
  {
    tableName: "class",
    timestamps: false,
  }
);

module.exports = Class;
