Created
December 12, 2019 05:33
-
-
Save upangka/7f88fc2dd6128dc0a12145ce5953a799 to your computer and use it in GitHub Desktop.
JOOQ Record 转成Map
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ObjectToMain { | |
public static void main(String[] args) { | |
UserCardRecord record = new UserCardRecord(); | |
Map<String, Object> map = record.intoMap(); | |
System.out.println(map); | |
} | |
} | |
/** | |
{user_id=null, card_id=null, flag=null, card_no=null, expire_time=null, is_default=null, money=null, surplus=null, activation_time=null, exchang_surplus=null, create_time=null, update_time=null} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment