2025-12-29 16:06:48 +08:00
|
|
|
package com.senmesh.codesetting.convert;
|
2025-06-11 09:42:13 +08:00
|
|
|
|
2025-12-29 16:06:48 +08:00
|
|
|
import com.senmesh.codesetting.dto.CodeSettingDTO;
|
|
|
|
|
import com.senmesh.codesetting.dto.CodeSettingOperatorDTO;
|
|
|
|
|
import com.senmesh.codesetting.entity.CodeSetting;
|
2025-06-11 09:42:13 +08:00
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
}
|