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

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

}

export default cinema
