package com.gxwebsoft.common.system.param;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 存储类型查询参数
 *
 * @author 科技小王子
 * @since 2025-05-16 14:24:28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "SysFileTypeParam对象", description = "存储类型查询参数")
public class SysFileTypeParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @Schema(description = "0本地存储，1阿里云oss，2腾讯云cos，3七牛云，4其他")
    @QueryField(type = QueryType.EQ)
    private Integer type;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "访问域名")
    private String path;

}
