import { CreateArticleParams } from "article/useCases/params/create_article_params";
import { Article } from "./articleEntity";

const create = (props: CreateArticleParams): Article => ({
  id: props.id,
  topic: props.topic,
  title: props.title,
  authors: props.authors,
  tags: props.tags,
  summary: props.summary,
  content: props.content,
});

export { create };
