MapStruct 사용하기 고급
MapStruct 사용하기 고급
DTO – Entity 준비
@Setter
@Getter
@NoArgsConstructor
@Entity
public class TestBrands {
… 더보기 @Setter
@Getter
@NoArgsConstructor
@Entity
public class TestBrands {
… 더보기 접속자의 아이디를 확인하는 단계이다.
dependencies {
implementation 'io.springfox:springfox-swagger-ui:2.9.2'
implementation 'io.springfox:springfox-swagger2:2.9.2'
}
BigDecimal n1 = new BigDecimal("4.3456");
BigDecimal n2 = new BigDecimal("2.1859");
System.out.println("n1 : … 더보기