{"size": 939, "ext": "js", "max_stars_repo_path": "server/models/parameter.js", "max_stars_repo_name": "bagustriyanto/base-template-nodejs", "max_stars_repo_stars_event_min_datetime": "2020-06-26T13:57:01.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-26T13:57:01.000Z", "max_issues_repo_path": "server/models/parameter.js", "max_issues_repo_name": "hafidzizzudin/base-template-nodejs", "max_issues_repo_issues_event_min_datetime": "2021-10-06T10:04:06.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-19T02:28:37.000Z", "max_forks_repo_path": "server/models/parameter.js", "max_forks_repo_name": "hafidzizzudin/base-template-nodejs", "max_forks_repo_forks_event_min_datetime": "2020-06-26T13:52:45.000Z", "max_forks_repo_forks_event_max_datetime": "2020-06-26T13:52:45.000Z"}
{"max_stars_count": 1, "max_issues_count": 4, "max_forks_count": 1, "avg_line_length": 18.78, "max_line_length": 49, "alphanum_fraction": 0.5559105431}
/* jshint indent: 2 */

module.exports = function(sequelize, DataTypes) {
  return sequelize.define('parameter', {
    id: {
      type: DataTypes.BIGINT,
      allowNull: false,
      primaryKey: true
    },
    name: {
      type: DataTypes.STRING,
      allowNull: false
    },
    code: {
      type: DataTypes.STRING,
      allowNull: false
    },
    description: {
      type: DataTypes.STRING,
      allowNull: false
    },
    created_by: {
      type: DataTypes.STRING,
      allowNull: true
    },
    created_on: {
      type: DataTypes.DATE,
      allowNull: true
    },
    created_host: {
      type: DataTypes.STRING,
      allowNull: true
    },
    modified_by: {
      type: DataTypes.STRING,
      allowNull: true
    },
    modified_on: {
      type: DataTypes.DATE,
      allowNull: true
    },
    modified_host: {
      type: DataTypes.STRING,
      allowNull: true
    }
  }, {
    tableName: 'parameter'
  });
};
