package com.zbkj.common.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ActivityRegisterResponse对象", description="ActivityRegisterResponse对象")
public class ActivityRegisterResponse implements Serializable {

    private static final long serialVersionUID = -4585094537501770138L;

    @ApiModelProperty(value = "活动管理ID")
    private Integer id;

    @ApiModelProperty(value = "活动标题")
    private String title;

    @ApiModelProperty(value = "预约编号")
    private Integer registerActivityId;

    @ApiModelProperty(value = "人数")
    private Integer attendNum;

    @ApiModelProperty(value = "费用")
    private String price;

    @ApiModelProperty(value = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registerDate;

    @ApiModelProperty(value = "取消时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date cancelData;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "手机号")
    private String cellPhone;

    @ApiModelProperty(value = "0:报名待确认,1:预约成功,3:已结束,4:已取消")
    private Integer registerStatus;

    @ApiModelProperty(value = "取消原因")
    private String cancelReason;
    
    @ApiModelProperty(value = "备注")
    private String remark;

}
