/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.web.outpatientmanage.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 就诊人员列表
 *
 * @author WangYang
 * @date 2025-03-18
 */
@Data
@Accessors(chain = true)
public class OutpatientTreatmentEncounterDto {

    /** 就诊ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long encounterId;

    /** 就诊号 */
    private String encounterNo;

    /** 患者姓名 */
    private String patientName;

    /** 拼音码 */
    private String patientPyStr;

    /** 五笔码 */
    private String patientWbStr;

    /** 性别 */
    private Integer genderEnum;
    private String genderEnum_enumText;

    /** 就诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String receptionTime;

    /**
     * 年龄
     */
    private String age;

    /**
     * 生日
     */
    private Date birthDate;

    /** 执行状态 */
    private Integer statusEnum;
}
