package com.red.circle.other.app.inner.convertor.approval;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.domain.model.approval.ProfileApprovalContent;
import com.red.circle.other.infra.database.rds.entity.approval.ApprovalUserSettingData;
import com.red.circle.other.inner.model.cmd.approval.ProfileApprovalContentCmd;
import com.red.circle.other.inner.model.dto.approval.ApprovalUserSettingDataDTO;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/11/17
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface UserSettingDataInnerConvertor {

  ApprovalUserSettingDataDTO toApprovalUserSettingDataDTO(ApprovalUserSettingData data);

  ProfileApprovalContent toProfileApprovalContent(ProfileApprovalContentCmd cmd);
}
