import React, { Component } from 'react';
import PropTypes from 'prop-types';
import UserMgmt from './UserMgmt';

class User extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    return <UserMgmt {...this.props} />;
  }
}

User.propTypes = {
  getUserByIdAction: PropTypes.func,
  getAllRoleAction: PropTypes.func,
  getDepartmentByCompanyAction: PropTypes.func,
  userTableAction: PropTypes.func,
  userDelAction: PropTypes.func,
  userAddAction: PropTypes.func,
  userEditAction: PropTypes.func,
  userDisableAction: PropTypes.func,
  userEnableAction: PropTypes.func,
  userEditPasswordAction: PropTypes.func,
  userInfo: PropTypes.any,
  departmentTreeData: PropTypes.any,
  allRole: PropTypes.any,
  totals: PropTypes.any,
  dataList: PropTypes.any,
  needRefreshTable: PropTypes.any
};

export default User;
