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

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-27 12:00:43
 * @author lilin
 */

@Data
@ApiModel
public class OrderQueryParam {

	@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退款中 4已退款 5已拒绝)", example = "")
	private Integer orderStatus;

	@ParamQuery(expression = QueryExpression.betweenDate, betweenKey = "createDate")
	@ApiModelProperty(value = "创建时间", example = "2018-03-12 21:32:33")
	private String createDate;

}