项目案例:宠物商店

宠物商店项目大纲:

dao接口:
AccountDao PetDao PetOwnerDao PetStoreDao

实现类:
AccountDaoImpl PetDaoImpl PetOwnerDaoImpl PetStoreDaoImpl
数据访问层:
BaseDao类
entity封装包:
Account Pet PetOwner PetStore
service包:
父接口: PetStoreService: Accountable Breadable Buyable Sellable
PetOwnerService: Sellable Buyable

接口: PetFactory PetStoreFactory
实现类: PetStoreServiceImpl PetOwnerServiceImpl PetFactoryImpl PetStoreFactoryImpl  
test包:
Main 界面类

你可能感兴趣的:(Java面向对象编程)