function BPEvent(id, title, scategoryId, secBS, secBE, startDate, expiryDate, offers, volume, userId) {
	this.id = id;
	this.title = title;
	this.scategoryId = scategoryId;
	this.secBS = secBS;
	this.secBE = secBE;
	this.startDate = startDate;
	this.expiryDate = expiryDate;
	this.offers = offers;
	this.volume = volume;
	this.userId = userId;
}

function BPOption(optionId, optionName, odds1, stakes1, odds2, stakes2) {
	this.optionId = optionId;
	this.optionName = optionName;
	this.odds1 = odds1;
	this.stakes1 = stakes1;
	this.odds2 = odds2;
	this.stakes2 = stakes2;
}

function BPBet(id, eventId, optionId, eventTitle, optionName, odds, initialStake, stake, comm, settlement, type, date, expiryDate, status) {
	this.id = id;
	this.eventId = eventId;
	this.optionId = optionId;
	this.eventTitle = eventTitle;
	this.optionName = optionName;
	this.odds = odds;
	this.initialStake = initialStake;
	this.stake = stake;
	this.type = type;
	this.date = date;
	this.expiryDate = expiryDate;
}

function Msg(id, date, text, status) {
	this.id = id;
	this.text = text;
	this.date = date;
	this.status = status;
}