private int id;
private String title;//title
Private String sub_title; Subtitle//article
private String content;//content
Private Blob imager;//picture
@ JsonFormat (timezone="GMT + 8", the pattern="MM - dd yyyy - HH: MM: ss")
Private Date create_time;//create time
Private String hite.//position
Private Integer hits.//clicks
Private Integer commentsNum;
total//commentPrivate Date currenttime;//the current time
This is the entity class
CodePudding user response:
Yourself thatCodePudding user response:
Using redis sortSet to do sorting