/*
 * BookBase
 */
define(function () {
    console.log('CORE: BookBase called');
    function BookBase(id, configs) {
        this.id = id;
        this.configs = configs;
		var Book = CORE.main.model.Main.Model.extend({
			defaults:{
				coverImage:"http://localhost:2000/pages/booklibrary/img/placeholder.png",
				title:"No title",
				author:"Unknown",
				releaseDate:"Unknown",
				keywords:"None"
			}
		});
		this.Model = Book; // Assign Book to Model
    };
    BookBase.prototype = {
        getConfigs: function () {
            console.log('CORE: BookBase getConfigs() called');
            return this.configs;
        }
    };
    return BookBase;
});
