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

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.DateTimeColumn;
import com.brframework.commondb.annotation.param.ParamQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @date 2020-02-26 11:02:46
 * @author lilin
 */

@Data
@ApiModel
public class ActivityQueryParam {

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

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

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

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

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

	@ApiModelProperty(value = "活动状态1.活动预热中2.报名中3.已开始4.已结束", allowableValues ="1,2,3,4", example = "1")
	private Integer activityStatus;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@DateTimeColumn
	@ApiModelProperty(value = "活动开始时间", example = "")
	private String startDate;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@DateTimeColumn
	@ApiModelProperty(value = "活动结束时间", example = "")
	private String endDate;

}