I have a base model class with createdAt and updatedAt properties, and a user model extending that class, when spring returns the json, it puts the createdAt / updatedAt properties first, which isn't breaking anything, just super weird to look at, so I end up with something like this:
{
"createdAt": "2022-07-14T06:31:04.933027-04:00",
"updatedAt": "2022-07-14T06:31:04.933027-04:00",
"id": 1,
"email": "foo@bar.com",
"firstName": "Foo",
"lastName": "Bar"
}
Ideally, I'd like it to look like this if possible / be able to customize the order:
{
"id": 1,
"email": "foo@bar.com",
"firstName": "Foo",
"lastName": "Bar",
"createdAt": "2022-07-14T06:31:04.933027-04:00",
"updatedAt": "2022-07-14T06:31:04.933027-04:00"
}