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

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.DateTimeBetweenColumn;
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;

/**
 * @date 2020-02-25 12:03:51
 * @author lilin
 */

@Data
@ApiModel
public class InvestQueryParam {


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

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

	@ParamQuery
	@ApiModelProperty(value = "项目名称", example = "")
	private String name;

	@ParamQuery(expression = QueryExpression.betweenDate, betweenKey = "createDate")
	@DateTimeBetweenColumn
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "时间", example = "2018-03-12 21:32:33")
	private String createDate;

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

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

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

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

}