'use strict';

/**
 * @ngdoc service
 * @name annotationAppApp.insight
 * @description
 * # insight
 * Service in the annotationAppApp.
 */
angular.module('app')
	.service('Insight', function() {

		function Insight(opts) {
			opts = opts || {};

			this.createdAt = new Date();
			this.text = opts.text || null;
			this.reviewIds = opts.reviewIds || [];
			this.callCenterDataIds = opts.callCenterDataIds || [];
			this.state = 0;
			this.author = opts.author || '';
		}
		return Insight;
	});