더북(TheBook)

    private Long orderId;       // 주문ID
    private Cart cart;          // 장바구니 객체
    private Customer customer;  // 고객 객체
    private Shipping shipping;  // 배송지 객체

 

    public Order() {
        this.customer = new Customer();
        this.shipping = new Shipping();
    }

 

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Cart getCart() {
        return cart;
    }

    public void setCart(Cart cart) {
        this.cart = cart;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
         this.customer = customer;
    }

    public Shipping getShipping() {
        return shipping;
    }

    public void setShipping(Shipping shipping) {
        this.shipping = shipping;
    }

 

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.