hjjae2 / erp-hs Goto Github PK
View Code? Open in Web Editor NEWπ ERP for νμ±μ€μΉ΄μ΄/νμ±μ¬λ€λ¦¬
π ERP for νμ±μ€μΉ΄μ΄/νμ±μ¬λ€λ¦¬
Batch insert
μλμ κ°μ΄ μ¬μ©νλ€λ©΄, lombok μ annotation μ μ¬μ©ν μ μλ€.
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.2.Final'
μλμ κ°μ΄ μ¬μ©νλ€λ©΄, lombok μ annotation μ μ¬μ©ν μ μλ€. λ°λΌμ getter, setter λ±μ μ§μ ꡬνν΄μ£Όμ΄μΌ νλ€.
annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.2.Final'
annotationProcessor 'org.projectlombok:lombok'
@Generated(
value = "org.mapstruct.ap.MappingProcessor",
date = "2021-08-07T18:03:07+0900",
comments = "version: 1.4.2.Final, compiler: IncrementalProcessingEnvironment from gradle-language-java-7.1.1.jar, environment: Java 1.8.0_281 (Oracle Corporation)"
)
public class PersonMapperImpl implements PersonMapper {
@Override
public PersonRequestDto person2PersonRequestDto(Person person) {
if ( person == null ) {
return null;
}
PersonRequestDto personRequestDto = new PersonRequestDto();
personRequestDto.setPhone( personPhoneValue( person ) );
return personRequestDto;
}
@Override
public PersonResponseDto person2PersonResponseDto(Person person) {
if ( person == null ) {
return null;
}
PersonResponseDto personResponseDto = new PersonResponseDto();
personResponseDto.setPhone( personPhoneValue( person ) );
return personResponseDto;
}
...
https://mapstruct.org/documentation/stable/reference/html/#mapping-with-constructors
μμ κΈμ μ°Έμ‘°νλ©΄ μ μ μλ―μ΄, 'μμ±μ λ°©μ'μ μ¬μ©ν Mapper μμλ μ°μ μμκ° μλ€.
@Default
NoArgsConstructor
AllArgsConstructor
)@Default
μ΄λ
Έν
μ΄μ
μ λͺ
μν΄μ€μΌνλ€.[TIP] @NoArgsConstructor
κ° μ¬μ©λλ€λ©΄, setter λ©μλκ° νμνλ€. λΆνμν setter λ₯Ό λ§λ€κ³ μΆμ§ μμ @AllArgsConstructor
λ°©μμ μ΄μ©νκ² μ λνμλ€.
https://bootstrapdash.com/demo/star-admin2-free/docs/documentation.html
https://github.com/BootstrapDash/StarAdmin-Free-Vue-Admin-Template
https://github.com/BootstrapDash/star-admin2-free-admin-template
otline
@within
vs @target
μ°¨μ΄μ μ λν΄ μμλ³Ό κ²@Log4j2
@Aspect
@Component
public class Log4RestControllerAspect {
@Around("@within(com.hserp.annotation.Log4RestController)")
public Object log4RequestAndResponse(ProceedingJoinPoint joinPoint) throws Throwable {
log.info("Before!");
Object proceed = joinPoint.proceed();
log.info("After!");
return proceed;
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.