⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shitioption.java

📁 网上调查系统主要有管理员指定调查
💻 JAVA
字号:
package com.myExam.bean;

import java.io.Serializable;
/** 持久类试题项目 *        @hibernate.class *         table="shitioption" *         dynamic-update="true" *         dynamic-insert="true"    */
public class ShitiOption implements Serializable {
    /** 定义主键*/
    private Integer id;
    /** 定义试题Id*/
    private int shitiId;
    /** 定义试题项目名称 */
    private String name;
    /** 定义是否正确答案 */
    private int isok;
    /** 构造函数 */
    public ShitiOption(int shitiId, String name, int isok) {
        this.shitiId = shitiId;
        this.name = name;
        this.isok = isok;
    }
    /**构造函数 */
    public ShitiOption() {
    }
    /** 获取主键     *            @hibernate.id     *             generator-class="native"     *             type="java.lang.Integer"     *             column="id"             */
    public Integer getId() {
        return this.id;
    }
	//设定主键
    public void setId(Integer id) {
        this.id = id;
    }
    /** 获取试题id     *            @hibernate.property     *             column="shitiId"     *             length="4"     *             not-null="true"            */
    public int getShitiId() {
        return this.shitiId;
    }
	//设定试题Id
    public void setShitiId(int shitiId) {
        this.shitiId = shitiId;
    }
    /** 获取试题项目名称     *            @hibernate.property     *             column="name"     *             length="50"     *             not-null="true"     *              */
    public String getName() {
        return this.name;
    }
	//设定试题项目名称
    public void setName(String name) {
        this.name = name;
    }
    /** 获取是否试题正确答案     *            @hibernate.property     *             column="idOk"     *             length="4"     *             not-null="true"     *              */
    public int getIsok() {
        return this.isok;
    }
	//设定是否试题正确答案
    public void setIsok(int isok) {
        this.isok = isok;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -