package com.jeesharp.business.modules.contentsecurity.convert;

import com.jeesharp.business.modules.contentsecurity.entity.ContentSecurityLog;
import com.jeesharp.business.modules.contentsecurity.vo.ContentSecurityLogListVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 内容安全流水 MapStruct 转换器。
 *
 * @author jeesharp
 * @since 2026-06-27
 */
@Mapper
public interface ContentSecurityLogConvert {

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

    ContentSecurityLogListVO toListVO(ContentSecurityLog entity);

    List<ContentSecurityLogListVO> toListVOList(List<ContentSecurityLog> list);
}
