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.UserAccount;
import com.zsElectric.boot.business.model.form.UserAccountForm;

/**
 * 个人账户对象转换器
 *
 * @author zsElectric
 * @since 2025-12-12 10:20
 */
@Mapper(componentModel = "spring")
public interface UserAccountConverter{

    UserAccountForm toForm(UserAccount entity);

    UserAccount toEntity(UserAccountForm formData);
}