Skip to content

Commit

Permalink
feat: add AddressTxCount entity
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-ThinhVu committed May 6, 2024
1 parent fa0402e commit c493e9e
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package org.cardanofoundation.explorer.common.entity.ledgersync;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

@Entity
@Table(name = "address_tx_count")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
public class AddressTxCount {
@Id
@Column(name = "address", nullable = false)
String address;

@Column(name = "txCount", nullable = false)
Long txCount;
}

0 comments on commit c493e9e

Please sign in to comment.