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

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/27 15:01
 * @description:
 */
@Data
@ApiModel
public class PolicyPageQueryParam {

    @ApiModelProperty(value = "政策id列表", required = true, example = "1")
    @ParamQuery(expression = QueryExpression.in)
    private Long[] id;

    @ApiModelProperty(value = "所在省份", required = true, example = "1")
    @ParamQuery
    private Long provinceId;

    @ApiModelProperty(value = "所在城市", required = true, example = "1")
    @ParamQuery
    private Long cityId;

    @ApiModelProperty(value = "所在区域", required = true, example = "1")
    @ParamQuery
    private Long areaId;

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

    @ApiModelProperty(value = "政策名称", example = "asldj")
    @ParamQuery(expression = QueryExpression.like)
    private String title;

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

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

    @ApiModelProperty(value = "申报状态0.仅显示 1.可申报", required = true, example = "0")
    @ParamQuery
    private Integer applyStatus;

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