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

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.DateTimeColumn;
import com.brframework.commoncms.annatotion.column.HideColumn;
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.time.LocalDateTime;
import java.util.List;

/**
 * @date 2020-02-21 11:48:30
 * @author lilin
 */

@Data
@ApiModel
public class InviteQueryParam {

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

	@ParamQuery(expression = QueryExpression.betweenDateStart, betweenKey = "startDate")
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@DateTimeColumn
	@ApiModelProperty(value = "招聘开始时间", example = "")
	private String startDate;

	@ParamQuery(expression = QueryExpression.betweenDateEnd, betweenKey = "endDate")
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@DateTimeColumn
	@ApiModelProperty(value = "招聘结束时间", example = "")
	private String endDate;

	@ApiModelProperty(value = "账号", example = "")
	private String account;

	@ParamQuery(expression = QueryExpression.goe)
	@ApiModelProperty(value = "发布者", hidden = true, example = "")
	private Long publisher;

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

	@ParamQuery
	@ApiModelProperty(value = "上架状态(0下架 1上架) ", example = "")
	private Integer upperStatus;

	@ApiModelProperty(value = "申请处理状态(1.待处理)", example = "")
	private Integer applyStatus;

	@ParamQuery(expression = QueryExpression.in)
	@ApiModelProperty(value = "序号", hidden = true, example = "")
	private Long [] id;

}