{"size": 265, "ext": "js", "max_stars_repo_path": "src/models/GuestModel.js", "max_stars_repo_name": "rohanarihant/react_mobx_app", "max_stars_repo_stars_event_min_datetime": "2016-07-16T06:04:46.000Z", "max_stars_repo_stars_event_max_datetime": "2017-09-08T22:02:07.000Z", "max_issues_repo_path": "src/models/GuestModel.js", "max_issues_repo_name": "rohanarihant/react_mobx_app", "max_issues_repo_issues_event_min_datetime": "2016-09-04T05:20:37.000Z", "max_issues_repo_issues_event_max_datetime": "2016-09-04T05:20:37.000Z", "max_forks_repo_path": "src/models/GuestModel.js", "max_forks_repo_name": "rohanarihant/react_mobx_app", "max_forks_repo_forks_event_min_datetime": "2016-07-16T02:59:25.000Z", "max_forks_repo_forks_event_max_datetime": "2018-11-06T09:55:11.000Z"}
{"max_stars_count": 27, "max_issues_count": 1, "max_forks_count": 5, "avg_line_length": 12.619047619, "max_line_length": 33, "alphanum_fraction": 0.679245283}
import {observable} from 'mobx'

export default class GuestModel {
	store
	@observable guest

	constructor(store, guest) {
		this.store = store
		this.guest = guest
	}

	destroy() {
		this.store.guests.remove(this)
	}

	setGuest(guest) {
		this.guest = guest
	}

}
