2020
12-22
12-22
JavaWeb实体类转为json对象的实现方法
1.创建个实体类实体类User代码:packagecom.neuedu.entity;importlombok.AllArgsConstructor;importlombok.Data;importlombok.NoArgsConstructor;importjava.util.Date;/***Keafmd**@ClassName:User*@Description:user实体类*@author:牛哄哄的柯南*@date:2020-12-1714:08*/@Data@AllArgsConstructor@NoArgsConstructorpublicclassUser{privateIntegerid;privateStringname;privateStringaddr...
继续阅读 >