項目案例:寵物商店
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 界面類
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.