Files
java-10561/src/main/java/com/gxwebsoft/ai/param/AiCloudFileParam.java

74 lines
2.0 KiB
Java

package com.gxwebsoft.ai.param;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;
/**
* AI云文件表查询参数
*
* @author yc
*/
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "AiCloudFileParam对象", description = "AI云文件表查询参数")
public class AiCloudFileParam extends BaseParam {
private static final long serialVersionUID = 1L;
@Schema(description = "ID")
@QueryField(type = QueryType.EQ)
private Integer id;
@Schema(description = "文档目录ID")
@QueryField(type = QueryType.EQ)
private Integer docId;
@Schema(description = "文件名")
private String fileName;
@Schema(description = "文件大小(字节)")
private Long fileSize;
@Schema(description = "文件类型")
private String fileType;
@Schema(description = "工作空间ID")
private String workspaceId;
@Schema(description = "云文件ID")
private String fileId;
@Schema(description = "文件扩展名")
private String fileExt;
@Schema(description = "上传时间开始")
private LocalDateTime uploadTimeStart;
@Schema(description = "上传时间结束")
private LocalDateTime uploadTimeEnd;
@Schema(description = "排序(数字越小越靠前)")
private Integer sortNumber;
@Schema(description = "状态, 0正常, 1冻结")
@QueryField(type = QueryType.EQ)
private Integer status;
@Schema(description = "是否删除, 0否, 1是")
@QueryField(type = QueryType.EQ)
private Integer deleted;
@Schema(description = "上传用户ID")
@QueryField(type = QueryType.EQ)
private Integer userId;
@Schema(description = "关键词搜索")
private String keywords;
}