/* jshint indent: 1 */

module.exports = function(sequelize, DataTypes) {
	return sequelize.define('diagnosisranaps', {
		'id': {
			type: DataTypes.INTEGER(10),
			allowNull: false,
			primaryKey: true,
			primaryKey: true,
			comment: "null",
			autoIncrement: true
		},
		'visitsranap_id': {
			type: DataTypes.INTEGER(10).UNSIGNED,
			allowNull: false,
			comment: "null"
		},
		'disease_id': {
			type: DataTypes.STRING(10),
			allowNull: false,
			comment: "null"
		},
		'groupdiagnosi_id': {
			type: DataTypes.CHAR(1),
			allowNull: true,
			comment: "null"
		}
	}, {
		tableName: 'diagnosisranaps',
		timestamps: false
	});
};
