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

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @date 2020/03/11 15:30:46
 * @author lilin
 */

@Data
@ApiModel
public class ActivityLogResult {

	@ApiModelProperty(value = "活动报名Id", required = true, example = "1")
	private Long id;

	@ApiModelProperty(value = "活动地点", required = true, example = "广东省广州市海珠区")
	private String address;

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

	@ApiModelProperty(value = "入场码", required = true, example = "")
	private String voucherCode;

	@ApiModelProperty(value = "订单号(用于付费活动确认订单)", required = true, example = "")
	private String orderNo;

	@ApiModelProperty(value = "入场码失效状态0.失效 1.有效", required = true, example = "")
	private Integer failureStatus;

}