재고량 수적

This commit is contained in:
kimscott
2020-04-09 11:16:54 +09:00
parent 4c7c3d3345
commit 00513acf31

View File

@@ -28,7 +28,7 @@ public class Application {
product.setImageUrl("https://github.githubassets.com/images/modules/profile/profile-joined-github.png"); product.setImageUrl("https://github.githubassets.com/images/modules/profile/profile-joined-github.png");
product.setName(p); product.setName(p);
product.setPrice(i*10000); product.setPrice(i*10000);
product.setStock(i*10); product.setStock(i*1);
product.setImageUrl("/goods/img/"+p+".jpg"); product.setImageUrl("/goods/img/"+p+".jpg");
// 상품 디테일 추가 - 양방향 관계 // 상품 디테일 추가 - 양방향 관계