Unit.java 693 B

1234567891011121314151617181920212223242526
  1. package platform.modules.government.service;
  2. import org.springframework.beans.factory.annotation.Autowired;
  3. import org.springframework.context.annotation.Lazy;
  4. import org.springframework.stereotype.Component;
  5. import platform.modules.build.service.CompanyService;
  6. /**
  7. * @author kevin
  8. * @since 2019/7/31 6:02 PM
  9. */
  10. public abstract class Unit {
  11. protected CompanyService companyService;
  12. @Autowired
  13. public final void setCompanyService(CompanyService companyService) {
  14. this.companyService = companyService;
  15. }
  16. // public Unit(CompanyService companyService) {
  17. // this.companyService = companyService;
  18. // }
  19. abstract String departmentName(Integer id);
  20. }