-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Changing packages structure, cleaning up JPA entities (RA-79)
- Loading branch information
Showing
62 changed files
with
404 additions
and
784 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
14 changes: 0 additions & 14 deletions
14
...rc/main/java/org/cardanofoundation/rosetta/api/account/model/entity/AddressBalanceId.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,27 +1,13 @@ | ||
package org.cardanofoundation.rosetta.api.account.model.entity; | ||
|
||
import java.io.Serializable; | ||
import jakarta.persistence.Column; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@EqualsAndHashCode | ||
@Builder | ||
public class AddressBalanceId implements Serializable { | ||
|
||
@Column(name = "address") | ||
private String address; | ||
|
||
@Column(name = "unit") | ||
private String unit; | ||
|
||
@Column(name = "slot") | ||
private Long slot; | ||
} |
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
11 changes: 0 additions & 11 deletions
11
...in/java/org/cardanofoundation/rosetta/api/account/model/entity/StakeAddressBalanceId.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,23 +1,12 @@ | ||
package org.cardanofoundation.rosetta.api.account.model.entity; | ||
|
||
import java.io.Serializable; | ||
import jakarta.persistence.Column; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@EqualsAndHashCode | ||
@Builder | ||
public class StakeAddressBalanceId implements Serializable { | ||
|
||
@Column(name = "address") | ||
private String address; | ||
@Column(name = "slot") | ||
private Long slot; | ||
} |
12 changes: 0 additions & 12 deletions
12
api/src/main/java/org/cardanofoundation/rosetta/api/account/model/entity/UtxoId.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,24 +1,12 @@ | ||
package org.cardanofoundation.rosetta.api.account.model.entity; | ||
|
||
import java.io.Serializable; | ||
import jakarta.persistence.Column; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@EqualsAndHashCode | ||
@Builder | ||
public class UtxoId implements Serializable { | ||
|
||
@Column(name = "tx_hash") | ||
private String txHash; | ||
|
||
@Column(name = "output_index") | ||
private Integer outputIndex; | ||
} |
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
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
3 changes: 0 additions & 3 deletions
3
api/src/main/java/org/cardanofoundation/rosetta/api/block/model/entity/DelegationId.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,15 +1,12 @@ | ||
package org.cardanofoundation.rosetta.api.block.model.entity; | ||
|
||
import java.io.Serializable; | ||
import jakarta.persistence.Column; | ||
|
||
import lombok.EqualsAndHashCode; | ||
|
||
@EqualsAndHashCode | ||
public class DelegationId implements Serializable { | ||
|
||
@Column(name = "tx_hash") | ||
private String txHash; | ||
@Column(name = "cert_index") | ||
private long certIndex; | ||
} |
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
4 changes: 0 additions & 4 deletions
4
...rc/main/java/org/cardanofoundation/rosetta/api/block/model/entity/PoolRegistrationId.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,16 +1,12 @@ | ||
package org.cardanofoundation.rosetta.api.block.model.entity; | ||
|
||
import java.io.Serializable; | ||
import jakarta.persistence.Column; | ||
|
||
import lombok.EqualsAndHashCode; | ||
|
||
@EqualsAndHashCode | ||
public class PoolRegistrationId implements Serializable { | ||
|
||
@Column(name = "tx_hash") | ||
private String txHash; | ||
|
||
@Column(name = "cert_index") | ||
private int certIndex; | ||
} |
Oops, something went wrong.