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

import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 药物禁配标准 — 配伍子行（表 biz_drug_incompatibility_companion）
 */
public class BizDrugIncompatibilityCompanion implements Serializable
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long standardId;

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

    private Integer sortOrder;

    public Long getId()
    {
        return id;
    }

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

    public Long getStandardId()
    {
        return standardId;
    }

    public void setStandardId(Long standardId)
    {
        this.standardId = standardId;
    }

    public String getCompanionDrugName()
    {
        return companionDrugName;
    }

    public void setCompanionDrugName(String companionDrugName)
    {
        this.companionDrugName = companionDrugName;
    }

    public Integer getSortOrder()
    {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder)
    {
        this.sortOrder = sortOrder;
    }
}
