mapper-creator

Official

Auto-generate mappers between entities and DTOs.

AuthorAmplicode
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Creates a mapper between an entity and a DTO using MapStruct or a custom converter, accelerating development by automating boilerplate code.

Core Features & Use Cases

  • Generates mapping methods between entity fields and DTO fields, including direct, renamed, flat, and nested mappings.
  • Supports MapStruct-based generation with @Mapping, @InheritInverseConfiguration, and optional AfterMapping or context helpers, or a fully custom mapper variant.
  • Ideal for adding a DTO layer after domain modeling, enabling CRUD mappings, data transfer, and integration with Spring applications.

Quick Start

Provide the entity and DTO, choose MapStruct or a custom mapper, and generate the mapper in the target package.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mapper-creator
Download link: https://github.com/Amplicode/spring-skills/archive/main.zip#mapper-creator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.