package com.ruoyi.web.modules.architecture.domain;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 移动端用药工具 — 用药配伍检查结果。
 */
public class AppMedicationCompatibilityCheckVo
{
    private String drugName1;

    private String drugName2;

    /** 是否存在配伍禁忌（双向任一命中即为 true） */
    private Boolean hasIncompatibility;

    /** 有禁忌时取命中方向主药的 compat_result；无禁忌时不返回 */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String compatResult;

    public String getDrugName1()
    {
        return drugName1;
    }

    public void setDrugName1(String drugName1)
    {
        this.drugName1 = drugName1;
    }

    public String getDrugName2()
    {
        return drugName2;
    }

    public void setDrugName2(String drugName2)
    {
        this.drugName2 = drugName2;
    }

    public Boolean getHasIncompatibility()
    {
        return hasIncompatibility;
    }

    public void setHasIncompatibility(Boolean hasIncompatibility)
    {
        this.hasIncompatibility = hasIncompatibility;
    }

    public String getCompatResult()
    {
        return compatResult;
    }

    public void setCompatResult(String compatResult)
    {
        this.compatResult = compatResult;
    }
}
