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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 休药期标准 biz_withdrawal_period_standard
 */
public class BizWithdrawalPeriodStandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @NotBlank(message = "药物名称不能为空")
    @Size(min = 1, max = 20, message = "药物名称长度为1到20个字符")
    private String drugName;

    @NotNull(message = "药物类型不能为空")
    private Integer drugType;

    @NotNull(message = "休药期天数不能为空")
    private Integer withdrawalDays;

    @NotBlank(message = "使用指南不能为空")
    @Size(min = 1, max = 200, message = "使用指南长度为1到200个汉字")
    private String usageGuide;

    @NotBlank(message = "药物作用不能为空")
    @Size(min = 1, max = 200, message = "药物作用长度为1到200个汉字")
    private String drugEffect;

    /** 0 未同步 1 已同步 */
    private Integer kbSyncStatus;

    private String kbDocId;

    /** 列表：药物名称模糊，仅匹配 drug_name */
    private String keyword;

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getDrugName()
    {
        return drugName;
    }

    public void setDrugName(String drugName)
    {
        this.drugName = drugName;
    }

    public Integer getDrugType()
    {
        return drugType;
    }

    public void setDrugType(Integer drugType)
    {
        this.drugType = drugType;
    }

    public Integer getWithdrawalDays()
    {
        return withdrawalDays;
    }

    public void setWithdrawalDays(Integer withdrawalDays)
    {
        this.withdrawalDays = withdrawalDays;
    }

    public String getUsageGuide()
    {
        return usageGuide;
    }

    public void setUsageGuide(String usageGuide)
    {
        this.usageGuide = usageGuide;
    }

    public String getDrugEffect()
    {
        return drugEffect;
    }

    public void setDrugEffect(String drugEffect)
    {
        this.drugEffect = drugEffect;
    }

    public Integer getKbSyncStatus()
    {
        return kbSyncStatus;
    }

    public void setKbSyncStatus(Integer kbSyncStatus)
    {
        this.kbSyncStatus = kbSyncStatus;
    }

    public String getKbDocId()
    {
        return kbDocId;
    }

    public void setKbDocId(String kbDocId)
    {
        this.kbDocId = kbDocId;
    }

    public String getKeyword()
    {
        return keyword;
    }

    public void setKeyword(String keyword)
    {
        this.keyword = keyword;
    }
}
