package com.jeesharp.business.modules.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeesharp.framework.mybatis.core.dataobject.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 会员常用游客实体，映射表 {@code app_member_visitor}，供门票等场景选择出行人。
 *
 * @author jeesharp
 * @since 2026-05-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("app_member_visitor")
@Schema(description = "会员常用游客")
public class MemberVisitor extends BaseEntity<MemberVisitor> {

    @Schema(description = "会员ID")
    private String memberId;

    @Schema(description = "姓名（与证件一致）")
    private String visitorName;

    @Schema(description = "身份证号")
    private String idCard;

    @Schema(description = "手机号（选填）")
    private String mobile;

    @Schema(description = "排序号（越大越靠前）")
    private Integer sortNo;
}
