diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fa1804..1fb3019 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.0] - 2024-06-04 +### Added + - API Rest per inserimento delle assenze + ## [0.3.0] - 2024-04-09 ### Added - Aggiunta gestione e visualizzazione data di nascita e residenza delle persone diff --git a/VERSION b/VERSION index 9325c3c..60a2d3e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.0 \ No newline at end of file +0.4.0 \ No newline at end of file diff --git a/src/main/java/it/cnr/iit/epas/config/OpenApiConfiguration.java b/src/main/java/it/cnr/iit/epas/config/OpenApiConfiguration.java index 7f92d82..602fe44 100644 --- a/src/main/java/it/cnr/iit/epas/config/OpenApiConfiguration.java +++ b/src/main/java/it/cnr/iit/epas/config/OpenApiConfiguration.java @@ -36,7 +36,7 @@ @Configuration @OpenAPIDefinition( info = @Info(title = "ePAS Service", - version = "4.0.0-beta.1", + version = "4.0.0-beta.2", description = "ePAS Service contains all the business logic and related REST endpoints" + " to manage all the personnel information."), servers = {@Server(url = "/", description = "ePAS Service URL")} diff --git a/src/main/java/it/cnr/iit/epas/dto/v4/ContractBaseDto.java b/src/main/java/it/cnr/iit/epas/dto/v4/ContractBaseDto.java index b50915c..f639e2b 100644 --- a/src/main/java/it/cnr/iit/epas/dto/v4/ContractBaseDto.java +++ b/src/main/java/it/cnr/iit/epas/dto/v4/ContractBaseDto.java @@ -20,6 +20,7 @@ import io.swagger.v3.oas.annotations.media.Schema; import java.time.LocalDate; import lombok.Data; +import lombok.ToString; /** * DTO con i dati per la creazione di un nuovo contratto. @@ -27,6 +28,7 @@ * @author Cristian Lucchesi * */ +@ToString @Data public class ContractBaseDto { diff --git a/src/main/java/it/cnr/iit/epas/dto/v4/ContractCreateDto.java b/src/main/java/it/cnr/iit/epas/dto/v4/ContractCreateDto.java index a279854..26bd9bd 100644 --- a/src/main/java/it/cnr/iit/epas/dto/v4/ContractCreateDto.java +++ b/src/main/java/it/cnr/iit/epas/dto/v4/ContractCreateDto.java @@ -21,6 +21,7 @@ import javax.validation.constraints.NotNull; import lombok.Data; import lombok.EqualsAndHashCode; +import lombok.ToString; /** * DTO con i dati per la creazione di un nuovo contratto. @@ -28,6 +29,7 @@ * @author Cristian Lucchesi * */ +@ToString(callSuper = true) @Data @EqualsAndHashCode(callSuper = true) public class ContractCreateDto extends ContractBaseDto { diff --git a/src/main/java/it/cnr/iit/epas/dto/v4/ContractShowDto.java b/src/main/java/it/cnr/iit/epas/dto/v4/ContractShowDto.java index 54c2316..a6f2935 100644 --- a/src/main/java/it/cnr/iit/epas/dto/v4/ContractShowDto.java +++ b/src/main/java/it/cnr/iit/epas/dto/v4/ContractShowDto.java @@ -22,10 +22,12 @@ import java.util.List; import lombok.Data; import lombok.EqualsAndHashCode; +import lombok.ToString; /** * DTO con le info principali di un contratto. */ +@ToString(callSuper = true) @Data @EqualsAndHashCode(callSuper = true) public class ContractShowDto extends ContractShowTerseDto { diff --git a/src/main/java/it/cnr/iit/epas/dto/v4/ContractShowTerseDto.java b/src/main/java/it/cnr/iit/epas/dto/v4/ContractShowTerseDto.java index f7d8582..22f8f55 100644 --- a/src/main/java/it/cnr/iit/epas/dto/v4/ContractShowTerseDto.java +++ b/src/main/java/it/cnr/iit/epas/dto/v4/ContractShowTerseDto.java @@ -20,6 +20,7 @@ import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; +import lombok.ToString; /** * DTO per le informazioni di base di un contratto. @@ -27,6 +28,7 @@ * @author Cristian Lucchesi * */ +@ToString @Data @EqualsAndHashCode(callSuper = true) public class ContractShowTerseDto extends ContractBaseDto { diff --git a/src/main/java/it/cnr/iit/epas/dto/v4/ContractUpdateDto.java b/src/main/java/it/cnr/iit/epas/dto/v4/ContractUpdateDto.java index e3c5a7e..56eabcc 100644 --- a/src/main/java/it/cnr/iit/epas/dto/v4/ContractUpdateDto.java +++ b/src/main/java/it/cnr/iit/epas/dto/v4/ContractUpdateDto.java @@ -21,6 +21,7 @@ import javax.validation.constraints.NotNull; import lombok.Data; import lombok.EqualsAndHashCode; +import lombok.ToString; /** * Dto per contenere le informazioni di aggiornamento di un contratto. @@ -28,6 +29,7 @@ * @author Cristian Lucchesi * */ +@ToString(callSuper = true) @Data @EqualsAndHashCode(callSuper = true) public class ContractUpdateDto extends ContractBaseDto {