package com.xinelu.familydoctor.applet.pojo.body;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.familydoctor.applet.pojo.dto.ResidentServiceFormApplyDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author mengkuiliang
 * @Description 居民服务申请请求对象
 * @Date 2023-10-07 007 11:44
 * @Param
 * @return
 **/
@Data
@ApiModel("居民服务申请请求对象")
public class ResidentServiceApplyBody extends ResidentServiceFormApplyDto{

    /**
     * 居民编号
     */
    @ApiModelProperty(value = "居民业务主键")
    private String patientId;

    /**
     * 居民姓名
     */
    @ApiModelProperty(value = "居民姓名", required = true)
    private String residentName;

    /**
     * 居民身份证号
     */
    @ApiModelProperty(value = "居民身份证号", required = true)
    private String identity;

    /**
     * 预约服务方式1：家庭2：门诊3：电话99：其他
     */
    @ApiModelProperty(value = "预约服务方式1：家庭2：门诊3：电话99：其他", hidden = true)
    private String serviceWay;

    /**
     * 预约时间
     */
    @ApiModelProperty(value = "预约时间", required = true)
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date bookingTime;

    /**
     * 预约机构编号
     */
    @ApiModelProperty(value = "预约机构编号", required = true)
    private String hospitalId;

    /**
     * 预约机构名称
     */
    @ApiModelProperty(value = "预约机构名称", required = true)
    private String hospitalName;

    /**
     * 预约团队编号
     */
    @ApiModelProperty(value = "预约团队编号", required = true)
    private String teamNo;

    /**
     * 预约团队名称
     */
    @ApiModelProperty(value = "预约团队名称", required = true)
    private String teamName;

    /**
     * 预约医生编号
     */
    @ApiModelProperty(value = "预约医生编号", required = true)
    private String userNo;

    /**
     * 预约医生姓名
     */
    @ApiModelProperty(value = "预约医生姓名", required = true)
    private String userName;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 服务项集合
     */
    @ApiModelProperty(value = "服务项集合", hidden = true)
    List<ResidentServiceFormApplyDto> formList;

}
