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

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 lilin
 * @date 2020-03-11 13:44:00
 */
@Data
@ApiModel
public class ActivityQueryParam {

    @ParamQuery(expression = QueryExpression.like)
    @ApiModelProperty(value = "活动名称", example = "")
    private String name;

    @ParamQuery(expression = QueryExpression.betweenDateStart, betweenKey = "startDate")
    @ApiModelProperty(value = "活动开始时间", example = "")
    private String startDate;


    @ParamQuery(expression = QueryExpression.betweenDateEnd, betweenKey = "endDate")
    @ApiModelProperty(value = "活动结束时间", example = "")
    private String endDate;

    @ParamQuery
    @ApiModelProperty(value = "活动类别 1.创新活动 2.培训活动", hidden = true, example = "")
    private Integer category;

    @ParamQuery
    @ApiModelProperty(value = "活动类型(创新->1.沙龙会2.论坛3.讲座4.项目路演5.创新创业大赛6.私董会7.分享会 培训->1.讲座2.培训班3.研修班)", example = "")
    private Integer type;

    @ParamQuery
    @ApiModelProperty(value = "省份编号", example = "")
    private Long provinceId;

    @ParamQuery
    @ApiModelProperty(value = "城市编号", example = "")
    private Long cityId;

    @ParamQuery
    @ApiModelProperty(value = "区县编号", example = "")
    private Long areaId;

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

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

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

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

}
