專案案例:寵物商店

Mr_ZhangXiaoCao發表於2017-05-11

寵物商店專案大綱:

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 介面類

相關文章