package com.fs.hospital580.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


@Data
public class PrescriptionAdminScrmVo implements Serializable {

    @ApiModelProperty("主键ID")
    private Long preId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("服务类型：0-图文，1-视频")
    private Byte serviceType;

    @ApiModelProperty("是否需要审方：0-不需要，1-需要")
    private Byte isExamine;

    @ApiModelProperty("是否孕妇：0-否，1-是")
    private Byte isPregnantWoman;

    @ApiModelProperty("是否哺乳期：0-否，1-是")
    private Byte isLactation;

    @ApiModelProperty("来源：0-微信小程序，1-APP，2-H5，3-支付宝小程序")
    private Byte souceFrom;

    @ApiModelProperty("就诊人姓名")
    private String userFamilyName;

    @ApiModelProperty("就诊人身份证")
    private String userFamilyIdCard;

    @ApiModelProperty("就诊人年龄")
    private Integer userFamilyAge;

    @ApiModelProperty("就诊人性别：1-男，2-女")
    private Byte userFamilyGender;

    @ApiModelProperty("就诊人手机号码")
    private String userFamilyPhone;

    @ApiModelProperty("关系：1-本人，2-父母，3-配偶，4-子女，5-其他")
    private Boolean relationship;

    @ApiModelProperty("就诊人住址（最多30个字符）")
    private String userFamilyAddr;

    @ApiModelProperty("图片附件URL，多个以英文逗号隔开")
    private String imgList;

    @ApiModelProperty("结束问诊后跳回三方的地址")
    private String thirdReturnUrl;

    @ApiModelProperty("问诊时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("处方id(580)")
    private Long pid;

    @ApiModelProperty("医院名称")
    private String hospitalName;

    @ApiModelProperty("药店ID")
    private Long storeId;

    @ApiModelProperty("药店名称")
    private String storeName;

    @ApiModelProperty("问诊单ID(580)")
    private Long diagnosisId;

    @ApiModelProperty("医生签名时间")
    private LocalDateTime doctorSignTime;

    @ApiModelProperty("医生ID")
    private Long doctorId;

    @ApiModelProperty("医生科室")
    private String doctorOffice;

    @ApiModelProperty("医生姓名")
    private String doctorName;

    @ApiModelProperty("诊断标签")
    private String tags;

    @ApiModelProperty("处方状态(1正常 2已作废 )")
    private Byte status;

    @ApiModelProperty("备注")
    private String memo;

    @ApiModelProperty("说明")
    private String remarks;

    @ApiModelProperty("审核不通过的理由（可能为空）")
    private String reason;

    @ApiModelProperty("处方图片地址")
    private String dstFilePath;

    @ApiModelProperty("开方时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("处方编号")
    private String serialNo;

    @ApiModelProperty("处方审核状态:1为待审核，2为审核通过，3为审核不通过")
    private Boolean auditStatus;

    @ApiModelProperty("审方时间")
    private LocalDateTime auditTime;

    @ApiModelProperty("审方药师名称")
    private String auditApothecaryName;

    @ApiModelProperty("问诊知情确认页面URL")
    private String jumpUrl;

    @ApiModelProperty("开方情况0未开方1开方2拒绝")
    private Byte prescriptionStatus;

    @ApiModelProperty("商城订单id")
    private Long storeOrderId;

    // 问诊题目
    @ApiModelProperty(value = "问诊题目")
    private List<AnswerDataVo> beforeAiDataList;
    /**
     * 药品信息列表
     */
    @ApiModelProperty("药品信息列表")
    private List<PrescriptionMedicineScrmVo> drugRspList;

    /**
     * 店铺名称
     * **/
    @ApiModelProperty("店铺名称")
    private String storeSysName;
}

