package open.dolphin.order;

/**
 *
 * @author  Kazushi Minagawa, Digital Globe, Inc.
 */
public final class AdminInfo extends Object {

    protected static final int TT_CLASSCODE = 0;
    protected static final int TT_ADMIN = 1;
    /**
     *
     */
    protected static final int TT_MEMO = 2;
    protected int eventType;
    private String class1Code;     // 大分類コード
    private String admin;          // 1 + 2;
    private String admin1;         // 大分類名(内服3回、頓用等)
    private String admin2;         // 小分類名(毎食後　等)
    private String adminCode;      // レセ用コード
    private String classCode;      // 診療行為区分（点数集計先）
    private String numberCode;     // 数量コード
    private String adminMemo;      // メモ
    private int showState = 2;

    /** 
     * Creates new SimpleMedItem 
     */
    public AdminInfo() {
    }

    @Override
    public String toString() {
        return getAdmin();
    }

    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    public String getAdminCode() {
        return adminCode;
    }

    public void setAdminCode(String adminCode) {
        this.adminCode = adminCode;
    }

    public String getClassCode() {
        return classCode;
    }

    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    public String getNumberCode() {
        return numberCode;
    }

    public void setNumberCode(String numberCode) {
        this.numberCode = numberCode;
    }

    public String getAdminMemo() {
        return adminMemo;
    }

    /**
     *
     * @param adminMemo
     */
    public void setAdminMemo(String adminMemo) {
        this.adminMemo = adminMemo;
    }
}
