const cinema = {
	state: {
		filmList: null,
		filmDiscount: 1,
		discountRule: {},
		cityId: null,
		cityObj:{}
	},

	mutations: {
		SET_FILMLIST: (state, filmList) => {
			state.filmList = filmList
		},
		SET_FILMDISCOUNT: (state, filmDiscount) => {
			state.filmDiscount = filmDiscount
		},
		SET_DISCOUNTRULE: (state, discountRule) => {
			state.discountRule = discountRule
		},
		SET_CITYID: (state, cityId) => {
			state.cityId = cityId
		},
		SET_CITYOBJ: (state, cityObj) => {
			state.cityObj = cityObj
		}
	}

}

export default cinema
