不想dto套dto可以这样写
之前都是要新建个dto文件的,偶然看到别人这样写,简单记录一下
@Data
public class GdtDailyBalanceContent {
List<GdtDailyBalanceReportAO> list;
private pageInfoDTO page_info;
@Data
public static class pageInfoDTO{
private Long page;
private Long page_size;
private Long total_number;
private Long total_page;
}
}