// 导入合并reducer的依赖
import { combineReducers } from 'redux'

// 导入 登录 模块的 reducer
import A0Layout from './layout'
import A2statistics from './A2statistics'
import B1ledger from './B1ledger'
import B2register from './B2register'
import B3edit from './B3edit'
import B4delete from './B4delete'
import C1storageSet from './C1storageSet'
import C2storageIn from './C2storageIn'
import C3storageMove from './C3storageMove'
import C4storageOut from './C4storageOut'
import D1dict from './D1dict'
import D2approval from './D2approval'
import D3role from './D3role'
import Z1user from './Z1user'
import Z2log from './Z2log'

// 合并 reducer
const rootReducer = combineReducers({
  A0Layout,
  A2statistics,
  B1ledger,
  B2register,
  B3edit,
  B4delete,
  C1storageSet,
  C3storageMove,
  C2storageIn,
  C4storageOut,
  D1dict,
  D2approval,
  D3role,
  Z1user,
  Z2log
})

// 默认导出
export default rootReducer
