pull region
This commit is contained in:
parent
3e2bd85b8d
commit
c313d222e2
|
@ -43,6 +43,7 @@ class Member extends Model {
|
||||||
'lastUpdated' => 'updated_at',
|
'lastUpdated' => 'updated_at',
|
||||||
'mitgliedsNummer' => 'mitgliedsnr',
|
'mitgliedsNummer' => 'mitgliedsnr',
|
||||||
'zeitschriftenversand' => 'send_newspaper',
|
'zeitschriftenversand' => 'send_newspaper',
|
||||||
|
'regionId' => 'region_id',
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $casts = [];
|
protected $casts = [];
|
||||||
|
|
|
@ -40,6 +40,7 @@ class PullMemberTest extends TestCase
|
||||||
'mitgliedsnr' => ['mitgliedsnr', [12345, null]],
|
'mitgliedsnr' => ['mitgliedsnr', [12345, null]],
|
||||||
'updated_at' => ['updated_at', ['2020-06-28 02:15:24', '2015-02-03 15:20:07']],
|
'updated_at' => ['updated_at', ['2020-06-28 02:15:24', '2015-02-03 15:20:07']],
|
||||||
'send_newspaper' => ['send_newspaper', [true, false]],
|
'send_newspaper' => ['send_newspaper', [true, false]],
|
||||||
|
'region_id' => ['region_id', [10, 11]],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
"ort": "Köln",
|
"ort": "Köln",
|
||||||
"ersteUntergliederungId": null,
|
"ersteUntergliederungId": null,
|
||||||
"wiederverwendenFlag": false,
|
"wiederverwendenFlag": false,
|
||||||
"regionId": 10,
|
"regionId": 11,
|
||||||
"geburtsDatum": "1984-01-17 00:00:00",
|
"geburtsDatum": "1984-01-17 00:00:00",
|
||||||
"stufe": null,
|
"stufe": null,
|
||||||
"genericField1": null,
|
"genericField1": null,
|
||||||
|
|
Loading…
Reference in New Issue