API 1.0.30+3 Customer properties must not be changed

This commit is contained in:
Bossanyi Tibor 2021-04-14 23:25:35 +02:00
parent d42cef0778
commit d71fb9e6d5
2 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ data class Customer (
@Expose var dateAdd: String? = null,
@Expose var dateChange: String? = null,
@Expose var dataPolicyAllowed: Int? = 1,
@Expose var admin: Boolean? = null,
@Expose var trainer: Boolean? = null,
@Expose var admin: Int? = null,
@Expose var trainer: Int? = null,
@Expose var trainerId: Long? = null,
@Expose var password: String? = null,
@Expose var birthYear:Int = 0,

View File

@ -102,7 +102,7 @@ class CustomerTests {
customer.customerId = id
customer.firstname = "Tib"
customer.name = "Bossi"
customer.admin = true
customer.admin = 1
customer.active = "Y"
customer.sex = "m"
@ -139,7 +139,7 @@ class CustomerTests {
customer.password = null
customer.firstname = "Tib"
customer.name = "Bossi"
customer.admin = true
customer.admin = 1
customer.sex = "m"
customer.fitnessLevel = "intermediate"
//customer.weight = 79