/
NikolayIvkin
/
tutorials1
Обзор
Документация
Войти
/
NikolayIvkin
/
tutorials1
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
mapstruct/src/main/java/com/baeldung/expression/model/License.java
71 строка
1 KB
balasr3
BAEL-7032: updated formatting
01 окт 2023, 05:00
01 окт 2023, 05:00
96de260
Код
Авторство
О чём код?
package com.baeldung.expression.model; import java.time.OffsetDateTime; import java.util.UUID; public class License { private UUID id; private OffsetDateTime startDate; private OffsetDateTime endDate; private boolean active; private boolean renewalRequired; private LicenseType licenseType; public UUID getId() { return id; } public void setId(UUID id) { this.id = id; } public OffsetDateTime getStartDate() { return startDate; } public void setStartDate(OffsetDateTime startDate) { this.startDate = startDate; } public OffsetDateTime getEndDate() { return endDate; } public void setEndDate(OffsetDateTime endDate) { this.endDate = endDate; } public boolean isActive() { return active; } public void setActive(boolean active) { this.active = active; } public boolean isRenewalRequired() { return renewalRequired; } public void setRenewalRequired(boolean renewalRequired) { this.renewalRequired = renewalRequired; } public enum LicenseType { INDIVIDUAL, FAMILY } public LicenseType getLicenseType() { return licenseType; } public void setLicenseType(LicenseType licenseType) { this.licenseType = licenseType; } }