package com.red.circle.other.app.inner.convertor.sys;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.sys.SysMessageCopywritingContent;
import com.red.circle.other.inner.model.dto.sys.SysMessageCopywritingContentDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author zongpubin on 2023/11/8
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface SysMessageCopywritingContentInnerConvertor {

  SysMessageCopywritingContentDTO toSysMessageCopywritingContentDTO(
      SysMessageCopywritingContent sysMessageCopywritingContent);

  List<SysMessageCopywritingContent> toListSysMessageCopywritingContent(
      List<SysMessageCopywritingContentDTO> list);

  List<SysMessageCopywritingContentDTO> toListSysMessageCopywritingContentDTO(
      List<SysMessageCopywritingContent> listByLanguage);

  SysMessageCopywritingContent toSysMessageCopywritingContent(
      SysMessageCopywritingContentDTO sysMessageCopywritingContent);
}
