package com.cdm.module.member.convert.config;

import com.cdm.module.member.api.config.dto.MemberConfigRespDTO;
import com.cdm.module.member.controller.admin.config.vo.MemberConfigRespVO;
import com.cdm.module.member.controller.admin.config.vo.MemberConfigSaveReqVO;
import com.cdm.module.member.dal.dataobject.config.MemberConfigDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 会员配置 Convert
 *
 * @author QingX
 */
@Mapper
public interface MemberConfigConvert {

    MemberConfigConvert INSTANCE = Mappers.getMapper(MemberConfigConvert.class);

    MemberConfigRespVO convert(MemberConfigDO bean);

    MemberConfigDO convert(MemberConfigSaveReqVO bean);

    MemberConfigRespDTO convert01(MemberConfigDO config);
}
