init
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.newyetai.recruit.company.mapstruct;
|
||||
|
||||
|
||||
import com.newyetai.recruit.company.dto.HrCompanyDTO;
|
||||
import com.newyetai.recruit.company.entity.HrCompany;
|
||||
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
/**
|
||||
* dto-entity
|
||||
*
|
||||
* @author sr on 2019-12-17
|
||||
*/
|
||||
@Mapper
|
||||
public interface HrCompanyMapMapper {
|
||||
|
||||
HrCompanyMapMapper INSTANCE = Mappers.getMapper(HrCompanyMapMapper.class);
|
||||
|
||||
HrCompanyDTO exchange(HrCompany company);
|
||||
|
||||
HrCompany exchange(HrCompanyDTO hrCompanyDTO);
|
||||
}
|
||||
Reference in New Issue
Block a user