package com.ruoyi.info.patient.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.Sensitive;
import com.ruoyi.common.enums.SensitiveStrategy;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 就诊人视图对象 tb_patient
 *
 * @author ruoyi
 * @date 2025-09-20
 */
@Data
@ApiModel("就诊人视图对象")
@ExcelIgnoreUnannotated
public class PatientVo {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    @ApiModelProperty("ID")
    private Long id;

    /**
     * C端用户ID
     */
    @ExcelProperty(value = "C端用户ID")
    @ApiModelProperty("C端用户ID")
    private Long userId;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    @ApiModelProperty("姓名")
    private String name;

    /**
     * 手机号
     */
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    @ExcelProperty(value = "手机号")
    @ApiModelProperty("手机号")
    private String mobile;

    /**
     * 性别
    * 0：未知、
    * 1：男、
    * 2：女
     */
    @ExcelProperty(value = "性别")
    @ApiModelProperty("性别 0：未知、1：男、2：女")
    private Integer gender;

    /**
     * 年龄
     */
    @ExcelProperty(value = "年龄")
    @ApiModelProperty("年龄")
    private Integer age;

    /**
     * 关系
     */
    @ExcelProperty(value = "关系")
    @ApiModelProperty("关系")
    private String relationship;

    /**
     * 是否默认
     */
    @ApiModelProperty(value = "是否默认", required = true)
    private Boolean defaulted;
}
