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

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.DateTimeBetweenColumn;
import com.brframework.commoncms.annatotion.column.DateTimeColumn;
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-27 13:36:08
 * @author lilin
 */

@Data
@ApiModel
public class RefundInfoQueryParam {

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

	@ApiModelProperty(value = "活动名称", example = "")
	private String activityName;

	@ParamQuery
	@ApiModelProperty(value = "用户id", hidden = true, example = "")
	private Long memberId;

	@ParamQuery
	@ApiModelProperty(value = "活动id", hidden = true, example = "")
	private Long activityId;

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

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