package com.example.entity;
import java.util.Date;
import org.springframework.beans.factory.annotation.Value;
// 필요한 항목만 가져오기(projection)
public interface BuyProjection {
Long getBno();
Long getBcnt();
Date getBregdate();
@Value("#{ target.item.iname }")
String getItemIname();
@Value("#{ target.item.iprice }")
Long getItemIprice();
@Value("#{ target.member.uname }")
String getMemberUname();
@Value("#{ target.member.uphone }")
String getMemberUphone();
}