赞
踩
使用@JSONField(name="对应字符串中的字段")
注解即可
@TableName("t_xian_gao") public class XianGaoEntity implements Serializable { private static final long serialVersionUID = 1L; @TableId private Long id; @JSONField(name="keyid") private Long keyId; private String typet; private String typetname; @JSONField(name="paper_title") private String title; @JSONField(name="id") private String idNum; }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。