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

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

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

Company.propTypes = {
  superiorUnitAction: PropTypes.func,
  superiorUnitEditAction: PropTypes.func,
  companyInfoAction: PropTypes.func,
  companyLevelsAction: PropTypes.func,
  companyTableAction: PropTypes.func,
  companyDelAction: PropTypes.func,
  companyAddAction: PropTypes.func,
  companyEditAction: PropTypes.func,
  companyLevels: PropTypes.any,
  superiorCompanyList: PropTypes.any,
  editSuperiorCompanyList: PropTypes.any,
  companyInfo: PropTypes.any,
  tableList: PropTypes.any,
  needRefreshTable: PropTypes.any
};

export default Company;
