Help us understand the problem. What is going on with this article?

kotlin > dozerでマッピング (作成中)

sample

bringmeister/dozer-with-kotlin: A demo project to show how to use Dozer with Kotlin.

First Step

API Mappings

via API · GitBook

以下、抜粋

Since version 5.3 Dozer offers two ways for specifying explicit mappings.
API mappings are intended to solve all of the mentioned problems.

バージョン5.3以降、Dozerは明示的なマッピングを指定する2つの方法を提供します。
XMLマッピングの欠陥は動的に生成できないことです。
APIマッピングは、前述の問題をすべて解決することを目的としています。

@NoArgConstructor
class UserDto(name: String) {
    var name: String = name
}



class UserDto {
    constructor() {}

    lateinit var name: String
}


Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした