package com.jwipc.sys.convert;

import com.jwipc.sys.dto.SequenceEditDTO;
import com.jwipc.sys.dto.SequenceListDTO;
import com.jwipc.sys.entity.Sequence;
import org.mapstruct.Mapper;

import java.util.List;


@Mapper(componentModel = "spring")
public interface SequenceConvert {
    List<SequenceListDTO> entities2ListDTOs(List<Sequence> list);

    SequenceEditDTO entity2EditDTO(Sequence sequence);

    Sequence editDTO2Entity(SequenceEditDTO sequenceEditDTO);
}
