{"size": 460, "ext": "js", "max_stars_repo_path": "public/ciao/app/models/user.js", "max_stars_repo_name": "timrourke/Ciao", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/ciao/app/models/user.js", "max_issues_repo_name": "timrourke/Ciao", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/ciao/app/models/user.js", "max_forks_repo_name": "timrourke/Ciao", "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": 23.0, "max_line_length": 55, "alphanum_fraction": 0.6782608696}
import DS from "ember-data";
import EmberValidations from 'ember-validations';

export default DS.Model.extend(EmberValidations, {
	validations: {
		first_name: {
			presence: true
		},
		email: {
			presence: true
		}
	},
	first_name: DS.attr('string'),
	last_name: DS.attr('string'),
	company: DS.attr('string'),
	email: DS.attr('string'),
	is_admin: DS.attr('boolean', { defaultValue: false }),
	created_at: DS.attr('date'),
	updated_at: DS.attr('date')
});