API 1.0.47 Customer.trial

This commit is contained in:
Tibor Bossanyi (Freelancer)
2021-08-06 18:16:17 +02:00
parent 4fcdf02221
commit b0ab1b4f77
7 changed files with 18 additions and 8 deletions
@@ -1,8 +1,6 @@
package com.aitrainer.api.model
import com.google.gson.annotations.Expose
import org.hibernate.annotations.Fetch
import org.hibernate.annotations.FetchMode
import javax.persistence.*
@Entity
@@ -28,5 +26,8 @@ data class Customer (
@Expose var firebaseUid: String? = null,
@Expose var sportId: Int? = null,
@Expose var emailSubscription: Int? = 0,
@Expose var synced_date: String? = null,
@Expose var trial: Boolean? = false,
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Expose var customerId: Long = 0,
)