package com.seer.teach.user.convert;

import com.seer.teach.user.api.dto.GradeDTO;
import com.seer.teach.user.api.dto.UserExtendDTO;
import com.seer.teach.user.entity.GradeEntity;
import com.seer.teach.user.entity.UserExtendEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 *
 * </p >
 *
 * @author Captain
 * @since 2025-08-04 19:55
 */
@Mapper
public interface UserExtendConvert {

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

    UserExtendDTO toUserExtendDTO(UserExtendEntity userExtendEntity);

    UserExtendEntity toUserExtendEntity(Integer userId, Integer gradeId, Integer levelId, Integer experience, String school);
}