{"size": 1999, "ext": "js", "max_stars_repo_path": "backend/models/PH.js", "max_stars_repo_name": "jtmccormick18/electron-react-bp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "backend/models/PH.js", "max_issues_repo_name": "jtmccormick18/electron-react-bp", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "backend/models/PH.js", "max_forks_repo_name": "jtmccormick18/electron-react-bp", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 16.9406779661, "max_line_length": 49, "alphanum_fraction": 0.5817908954}
/* jshint indent: 1 */

module.exports = function(sequelize, DataTypes) {
	return sequelize.define('ph', {
		recid: {
			type: DataTypes.INTEGER,
			allowNull: false,
			field: 'RECID'
		},
		abosYear: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'ABOS_YEAR'
		},
		brand: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'BRAND'
		},
		year: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'YEAR'
		},
		model: {
			type: DataTypes.STRING,
			allowNull: true,
			field: 'MODEL'
		},
		modtype: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'MODTYPE'
		},
		beamlength: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'BEAMLENGTH'
		},
		material: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'MATERIAL'
		},
		pontlenwid: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'PONTLENWID'
		},
		hull: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'HULL'
		},
		weight: {
			type: DataTypes.INTEGER,
			allowNull: true,
			defaultValue: '((0))',
			field: 'WEIGHT'
		},
		outhp: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'OUTHP'
		},
		inhp: {
			type: DataTypes.CHAR,
			allowNull: true,
			field: 'INHP'
		},
		feet: {
			type: DataTypes.INTEGER,
			allowNull: true,
			defaultValue: '((0))',
			field: 'FEET'
		},
		inch: {
			type: DataTypes.INTEGER,
			allowNull: true,
			defaultValue: '((0))',
			field: 'INCH'
		},
		srp: {
			type: DataTypes.INTEGER,
			allowNull: true,
			defaultValue: '((0))',
			field: 'SRP'
		},
		low: {
			type: DataTypes.INTEGER,
			allowNull: true,
			defaultValue: '((0))',
			field: 'LOW'
		},
		high: {
			type: DataTypes.INTEGER,
			allowNull: true,
			defaultValue: '((0))',
			field: 'HIGH'
		},
		retail: {
			type: DataTypes.INTEGER,
			allowNull: true,
			defaultValue: '((0))',
			field: 'RETAIL'
		},
		controlno: {
			type: DataTypes.CHAR,
			allowNull: false,
			primaryKey: true,
			field: 'CONTROLNO'
		}
	}, {
		tableName: 'PH',
		timestamps: false
	});
};
