-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
19 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
src/main/java/it/gov/pagopa/atmlayer/service/model/model/ResourceEntityDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,16 @@ | ||
package it.gov.pagopa.atmlayer.service.model.model; | ||
|
||
import it.gov.pagopa.atmlayer.service.model.entity.ResourceFile; | ||
import it.gov.pagopa.atmlayer.service.model.enumeration.ResourceTypeEnum; | ||
import jakarta.persistence.CascadeType; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.OneToOne; | ||
import org.hibernate.annotations.CreationTimestamp; | ||
import org.hibernate.annotations.UpdateTimestamp; | ||
|
||
import java.sql.Timestamp; | ||
import java.util.UUID; | ||
|
||
public class ResourceEntityDTO { | ||
|
||
private UUID resourceId; | ||
private String sha256; | ||
@Column(name="resourceType") | ||
ResourceTypeEnum resourceTypeEnum; | ||
@CreationTimestamp | ||
@Column(name = "created_at") | ||
private Timestamp createdAt; | ||
@UpdateTimestamp | ||
@Column(name = "last_updated_at") | ||
private Timestamp lastUpdatedAt; | ||
@Column(name = "created_by") | ||
private String createdBy; | ||
@Column(name = "last_updated_by") | ||
private String lastUpdatedBy; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters