25 lines
642 B
Java
25 lines
642 B
Java
package com.senmesh.codesetting.convert;
|
|
|
|
import com.senmesh.codesetting.dto.CodeSettingDTO;
|
|
import com.senmesh.codesetting.dto.CodeSettingOperatorDTO;
|
|
import com.senmesh.codesetting.entity.CodeSetting;
|
|
import org.mapstruct.Mapper;
|
|
import org.mapstruct.factory.Mappers;
|
|
|
|
/**
|
|
* 编码表
|
|
*
|
|
* @author chenyun chenyun.home@outlook.com
|
|
* @since 1.0.0 2023-01-04
|
|
*/
|
|
@Mapper
|
|
public interface CodeSettingConvert {
|
|
CodeSettingConvert INSTANCE = Mappers.getMapper(CodeSettingConvert.class);
|
|
|
|
CodeSetting convert(CodeSettingDTO dto);
|
|
|
|
CodeSettingDTO convert(CodeSetting entity);
|
|
|
|
CodeSetting convert(CodeSettingOperatorDTO dto);
|
|
|
|
} |