mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Renames MAPPER field to INSTANCE (#1632)
This commit is contained in:
parent
a09d980773
commit
cfe0f6250c
@ -583,7 +583,7 @@ public class CustomerDto {
|
|||||||
@Mapper
|
@Mapper
|
||||||
public interface CustomerMapper {
|
public interface CustomerMapper {
|
||||||
|
|
||||||
CustomerMapper MAPPER = Mappers.getMapper( CustomerMapper.class );
|
CustomerMapper INSTANCE = Mappers.getMapper( CustomerMapper.class );
|
||||||
|
|
||||||
@Mapping(source = "customerName", target = "name")
|
@Mapping(source = "customerName", target = "name")
|
||||||
Customer toCustomer(CustomerDto customerDto);
|
Customer toCustomer(CustomerDto customerDto);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user