package com.zsElectric.boot.business.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.business.model.entity.UserFirm;
import com.zsElectric.boot.business.model.form.UserFirmForm;

/**
 * 企业与用户关系对象转换器
 *
 * @author zsElectric
 * @since 2025-12-12 10:29
 */
@Mapper(componentModel = "spring")
public interface UserFirmConverter{

    UserFirmForm toForm(UserFirm entity);

    UserFirm toEntity(UserFirmForm formData);
}