{"size": 302, "ext": "js", "max_stars_repo_path": "Models/album.js", "max_stars_repo_name": "Sebastian-Quiroz/ReproductorMusica", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Models/album.js", "max_issues_repo_name": "Sebastian-Quiroz/ReproductorMusica", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Models/album.js", "max_forks_repo_name": "Sebastian-Quiroz/ReproductorMusica", "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": 21.5714285714, "max_line_length": 55, "alphanum_fraction": 0.6754966887}
'use strict'

var moongose = require('mongoose');
var schema = moongose.Schema;

var albumSchema = schema({
    title: String,
    description: String,
    year: Number,
    image: String,
    artist: { type: Schema.ObjectId, ref: 'artist_'}
});

module.exports = moongose.model('album_', albumSchema);