package cn.iocoder.yudao.module.bpm.convert.oa;

import cn.iocoder.yudao.module.bpm.controller.admin.oa.vo.overtime.BpmOAOvertimeCreateReqVO;
import cn.iocoder.yudao.module.bpm.controller.admin.oa.vo.overtime.BpmOAOvertimeRespVO;
import cn.iocoder.yudao.module.bpm.dal.dataobject.oa.BpmOAOvertimeDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 加班申请 Convert
 *
 * @author 符溶馨
 */
@Mapper
public interface BpmOAOvertimeConvert {

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

    BpmOAOvertimeDO convert(BpmOAOvertimeCreateReqVO bean);

    BpmOAOvertimeRespVO convert(BpmOAOvertimeDO bean);
}
