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

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;

import java.math.BigDecimal;

/**
 * @author lilin
 * @date 2020/2/26 10:26
 * @description:
 */
@Data
@ApiModel
public class ResProjectQueryParam {

    @ParamQuery
    @ApiModelProperty(value = "项目类型(1技术开发 2知识产权许可 3成果转让 4技术咨询 5成果转移合作)", allowableValues = "1,2,3,4,5", example = "")
    private Integer type;

    @ParamQuery
    @ApiModelProperty(value = "项目状态(1征集中 2已对接 3已终止)", allowableValues = "1,2,3", example = "")
    private Integer status;

    @ApiModelProperty(value = "价格区间最小", example = "")
    private BigDecimal priceMin;

    @ApiModelProperty(value = "价格区间最大", example = "")
    private BigDecimal priceMax;

    @ApiModelProperty(value = "面议", example = "")
    private BigDecimal interview;

    @ParamQuery
    @ApiModelProperty(value = "删除标记0.已删除 1.未删除", hidden = true, example = "")
    private Integer marker;

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

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

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