pull region

This commit is contained in:
philipp lang 2021-04-10 02:03:53 +02:00
parent 3e2bd85b8d
commit c313d222e2
3 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,7 @@ class Member extends Model {
'lastUpdated' => 'updated_at',
'mitgliedsNummer' => 'mitgliedsnr',
'zeitschriftenversand' => 'send_newspaper',
'regionId' => 'region_id',
];
protected $casts = [];

View File

@ -40,6 +40,7 @@ class PullMemberTest extends TestCase
'mitgliedsnr' => ['mitgliedsnr', [12345, null]],
'updated_at' => ['updated_at', ['2020-06-28 02:15:24', '2015-02-03 15:20:07']],
'send_newspaper' => ['send_newspaper', [true, false]],
'region_id' => ['region_id', [10, 11]],
];
}

View File

@ -61,7 +61,7 @@
"ort": "Köln",
"ersteUntergliederungId": null,
"wiederverwendenFlag": false,
"regionId": 10,
"regionId": 11,
"geburtsDatum": "1984-01-17 00:00:00",
"stufe": null,
"genericField1": null,