/
NikolayIvkin
/
tutorials1
Обзор
Документация
Войти
/
NikolayIvkin
/
tutorials1
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
mapstruct/src/main/java/com/baeldung/expression/dto/LicenseDto.java
48 строк
874 B
balasr3
BAEL-7032: Improvement to conditional mapping by using @Condition and added tests
01 окт 2023, 04:58
01 окт 2023, 04:58
87056d1
Код
Авторство
О чём код?
package com.baeldung.expression.dto; import java.time.LocalDateTime; import java.util.UUID; public class LicenseDto { private UUID id; private LocalDateTime startDate; private LocalDateTime endDate; private String licenseType; public UUID getId() { return id; } public void setId(UUID id) { this.id = id; } public LocalDateTime getStartDate() { return startDate; } public void setStartDate(LocalDateTime startDate) { this.startDate = startDate; } public LocalDateTime getEndDate() { return endDate; } public void setEndDate(LocalDateTime endDate) { this.endDate = endDate; } public String getLicenseType() { return licenseType; } public void setLicenseType(String licenseType) { this.licenseType = licenseType; } }