package com.fs.hospital580.vo.req;

import com.fs.hospital580.vo.AnswerDataVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;


@Getter
@Setter
@ApiModel("新增问诊请求")
public class SaveOrderScrmReq implements Serializable {

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

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

    @ApiModelProperty(value = "是否孕妇：0-否，1-是", required = true)
    @NotNull(message = "isPregnantWoman is null")
    private Byte isPregnantWoman;

    @ApiModelProperty(value = "是否哺乳期：0-否，1-是", required = true)
    @NotNull(message = "isLactation is null")
    private Byte isLactation;

    @ApiModelProperty(value = "来源：0-微信小程序，1-APP，2-H5，3-支付宝小程序", required = true)
    @NotNull(message = "souceFrom is null")
    private Byte souceFrom;

    @ApiModelProperty(value = "就诊人信息", required = true)
    @NotNull(message = "patientId is null")
    private Long patientId;

/*    @ApiModelProperty(value = "用药人姓名", required = true)
    @NotNull(message = "userFamilyName is null")
    private String userFamilyName;

    @ApiModelProperty("用药人身份证号")
    private String userFamilyIdCard;

    @ApiModelProperty(value = "用药人年龄", required = true)
    @NotNull(message = "userFamilyAge is null")
    private Integer userFamilyAge;

    @NotNull(message = "userFamilyGender is null")
    @ApiModelProperty(value = "用药人性别：1-男，2-女", required = true)
    private Byte userFamilyGender;

    @ApiModelProperty(value = "用药人手机号码", required = true)
    @NotNull(message = "userFamilyPhone is null")
    private String userFamilyPhone;*/

    @NotNull(message = "relationship is null")
    @ApiModelProperty(value = "用药人与问诊人关系：1-本人，2-父母，3-配偶，4-子女，5-其他", required = true)
    private Byte relationship;

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

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

    @NotNull(message = "beforeAiDataList is null")
    @ApiModelProperty(value = "问诊题目", required = true)
    private List<AnswerDataVo> beforeAiDataList; // 问诊前面的题目，传固定的五道题

    private Long userId;

    @NotNull(message = "storeOrderId is null")
    @ApiModelProperty(value = "商城订单id", required = true)
    private Long storeOrderId;
}
