package com.xinelu.manage.vo.patientinfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDate;
import lombok.Data;

/**
 * @description: 患者基本信息
 * @author: haown
 * @create: 2024-03-21 17:16
 **/
@Data
public class PatientBaseInfoVo {
	/** 主键id */
	private Long id;

	/** 居民信息表id */
	@ApiModelProperty(value = "居民信息表id")
	private Long residentId;

	/** 患者姓名 */
	@ApiModelProperty(value = "患者姓名")
	@Excel(name = "患者姓名")
	private String patientName;

	/** 患者电话 */
	@ApiModelProperty(value = "患者电话")
	@Excel(name = "患者电话")
	private String patientPhone;

	/** 家属电话 */
	@ApiModelProperty(value = "家属电话")
	private String familyMemberPhone;

	/** 出生日期，格式：yyyy-MM-dd */
	@ApiModelProperty(value = "出生日期，格式：yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private LocalDate birthDate;

	/** 身份证号 */
	@ApiModelProperty(value = "身份证号")
	private String cardNo;

	/** 性别，男：MALE，女：FEMALE */
	@ApiModelProperty(value = "性别，男：MALE，女：FEMALE")
	@Excel(name = "性别，男：MALE，女：FEMALE")
	private String sex;

	/** 住址 */
	@ApiModelProperty(value = "住址")
	@Excel(name = "住址")
	private String address;

	@ApiModelProperty(value = "年龄")
	private Integer age;
}
