package com.softwarebr.nunu.json.api.hall;

import com.brframework.commondb.annotation.param.ParamQuery;
import com.brframework.commondb.annotation.param.QueryExpression;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ljr
 * @date 2020/2/26 14:45
 * @description:
 */
@Data
@ApiModel
public class ApiInvestQueryParam {

    @ParamQuery
    @ApiModelProperty(value = "发布者", hidden = true, example = "2")
    private Long publisher;

    @ParamQuery
    @ApiModelProperty(value = "审核状态(不传为全部 1待审核 2审核通过 3审核不通过)", example = "2")
    private Integer verify;

    @ParamQuery(expression = QueryExpression.like)
    @ApiModelProperty(value = "投资项目名称", example = "")
    private String name;

    @ParamQuery
    @ApiModelProperty(value = "是否上架(0下架 1上架) ", hidden = true, example = "")
    private Integer upperStatus;

    @ParamQuery
    @ApiModelProperty(value = "是否推荐至首页(0否 1是)", hidden = true, example = "")
    private Integer indexType;


}
