package com.jwipc.sys.client.convert;

import com.jwipc.sys.client.dto.CreateUserCDTO;
import com.jwipc.sys.client.dto.UserDTO;
import com.jwipc.sys.dto.CreateUserDTO;
import com.jwipc.sys.entity.User;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface UserClientConvert {
    List<UserDTO> entities2DTOs(List<User> users);

    UserDTO entity2Dto(User users);

    CreateUserDTO convert(CreateUserCDTO createUserDTO);
}
