优化博客
This commit is contained in:
@@ -71,7 +71,7 @@ public class Source implements Serializable {
|
||||
private String fileType;
|
||||
|
||||
@ApiModelProperty(value = "下载次数")
|
||||
private Integer downRecord;
|
||||
private int downRecord;
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Date gmtCreate;
|
||||
|
||||
27
src/main/java/com/quinn/pojo/SourceWithStar.java
Normal file
27
src/main/java/com/quinn/pojo/SourceWithStar.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.quinn.pojo;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author limqsh
|
||||
* @since 2022-05-03
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
public class SourceWithStar extends Source implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "收藏")
|
||||
private int star;
|
||||
|
||||
|
||||
}
|
||||
@@ -36,7 +36,7 @@ public class User implements Serializable {
|
||||
private String uid;
|
||||
|
||||
@ApiModelProperty(value = "角色编号")
|
||||
private Integer roleId;
|
||||
private String roleId;
|
||||
|
||||
@ApiModelProperty(value = "用户名")
|
||||
private String username;
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
package com.quinn.pojo.param;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class QuerySource {
|
||||
|
||||
/**
|
||||
* 模糊查询名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 资源类别
|
||||
*/
|
||||
private int category;
|
||||
/**
|
||||
* 页码
|
||||
*/
|
||||
private int pageNum;
|
||||
/**
|
||||
* 每页数量
|
||||
*/
|
||||
private int limit;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user