package thyyxxk.webserver.entity.markmtfees;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author dj
 */
@Data
public class SiMzBusinessParams {
    @NotBlank(message = "操作员id不能为空。")
    private String staffId;
    @NotBlank(message = "门诊id号不能为空。")
    private String patientId;
    @NotNull(message = "就诊次数不能为空。")
    private Integer times;

    private String medType;
    private String opspDiseCode;
    private String opspDiseName;

    private String admdvs;
    private String socialNo;

    private Date visitDate;
    private String visitDeptCode;
    private String doctorCode;
    private String icdCodeNew;
    private String icdTextNew;

    private Integer acctUsedFlag;
    // 读卡类型：01-电子凭证，02-身份证，03-社保卡
    private String readCardType;
    private String readCardResult;
    private String busCardInfo;
    private String expContent;
    private Boolean straitSettle;
    private Boolean abortBeforeUploadFees;

    public Boolean abortBeforeUploadFees() {
        return null != abortBeforeUploadFees && abortBeforeUploadFees;
    }
}

