{"size": 347, "ext": "js", "max_stars_repo_path": "app/models/member-role.server.model.js", "max_stars_repo_name": "dinomulahusic/ProjectManagement", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/models/member-role.server.model.js", "max_issues_repo_name": "dinomulahusic/ProjectManagement", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/models/member-role.server.model.js", "max_forks_repo_name": "dinomulahusic/ProjectManagement", "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": 17.35, "max_line_length": 47, "alphanum_fraction": 0.6628242075}
'use strict';

var mongoose = require('mongoose'),
	Schema = mongoose.Schema;

var MemberRoleSchema = new Schema({
	member: {
		type: Schema.ObjectId,
		ref: 'Member',
    	required: 'Member is required'
	},
	role: {
		type: Schema.ObjectId,
		ref: 'Role',
    	required: 'Role is required'
	}
});

mongoose.model('MemberRole', MemberRoleSchema);
