[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: associating the entity
From: |
gnunet |
Subject: |
[libeufin] branch master updated: associating the entity |
Date: |
Tue, 18 Feb 2020 22:25:56 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new c4a5053 associating the entity
c4a5053 is described below
commit c4a5053ab0a56936ce19b2b0d2b67b9b26da9c7f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Feb 18 22:25:10 2020 +0100
associating the entity
---
nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
index f533906..6b4f584 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/DB.kt
@@ -71,6 +71,24 @@ object Pain001Table : IntIdTableWithAmount() {
val submitted = bool("submitted") // indicates whether the PAIN message
was sent to the bank.
}
+class Pain001Entity(id: EntityID<Int>) : IntEntity(id) {
+
+ companion object : IntEntityClass<Pain001Entity>(Pain001Table)
+
+ var msgId by Pain001Table.msgId
+ var paymentId by Pain001Table.paymentId
+ var date by Pain001Table.date
+ var sum by Pain001Table.sum
+ var debtorAccount by Pain001Table.debtorAccount
+ var endToEndId by Pain001Table.endToEndId
+ var subject by Pain001Table.subject
+ var creditorIban by Pain001Table.creditorIban
+ var creditorBic by Pain001Table.creditorBic
+ var creditorName by Pain001Table.creditorName
+ var submitted by Pain001Table.submitted
+}
+
+
object EbicsAccountsInfoTable : IdTable<String>() {
override val id = varchar("id", ID_MAX_LENGTH).entityId().primaryKey()
val subscriber = reference("subscriber", EbicsSubscribersTable)
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: associating the entity,
gnunet <=