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

import com.brframework.commoncms.annatotion.column.HideColumn;
import com.brframework.commoncms.annatotion.column.SelectColumn;
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 javax.persistence.Column;

/**
 * @date 2020-02-19 15:35:44
 * @author lilin
 */

@Data
@ApiModel
public class PolicyQueryParam {

	@ParamQuery
	@ApiModelProperty(value = "来源", example = "")
	private String source;

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

	@ParamQuery
	@ApiModelProperty(value = "来源类型(1.平台 2.爬虫)", hidden = true, example = "")
	private Integer sourceType;

	@ParamQuery
	@ApiModelProperty(value = "状态0.下架 1.上架", example = "")
	@SelectColumn(options = {"0,下架","1,上架"})
	private Integer status;

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

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

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


}