package com.amms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 游客预约明细对象 reservation_visitor
 */
public class ReservationVisitor {

    /** 明细ID */
    private Long id;

    /** 预约id */
    private Long reservationId;

    /** 游客真实姓名 */
    private String realName;

    /** 游客身份证号（唯一标识游客） */
    private String idCard;

    /** 游客手机号 */
    private String phone;

    /** 游客个人入场二维码（可选，如分人验证） */
    private String visitorQrCode;

    /** 游客入场验证状态（0未验证 1已验证） */
    private Long verifyStatus;

    /** 入场验证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date verifyTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setReservationId(Long reservationId) {
        this.reservationId = reservationId;
    }

    public Long getReservationId() {
        return reservationId;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getRealName() {
        return realName;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setVisitorQrCode(String visitorQrCode) {
        this.visitorQrCode = visitorQrCode;
    }

    public String getVisitorQrCode() {
        return visitorQrCode;
    }

    public void setVerifyStatus(Long verifyStatus) {
        this.verifyStatus = verifyStatus;
    }

    public Long getVerifyStatus() {
        return verifyStatus;
    }

    public void setVerifyTime(Date verifyTime) {
        this.verifyTime = verifyTime;
    }

    public Date getVerifyTime() {
        return verifyTime;
    }


    @Override
    public String toString() {
        return "ReservationVisitor{" +
            "id=" + id +
            ", reservationId=" + reservationId +
            ", realName=" + realName +
            ", idCard=" + idCard +
            ", phone=" + phone +
            ", visitorQrCode=" + visitorQrCode +
            ", verifyStatus=" + verifyStatus +
            ", verifyTime=" + verifyTime +
        '}';
    }
}
