Sunday, August 16, 2015

q options pojo

1:24 AM

package com.education.vidyarthi.online.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@SuppressWarnings("serial")
@Table(name = "question_options")
public class QuestionOptions {
    @Id
    @GeneratedValue
    @Column(name = "ques_op_id")
    private Long quesOpId;

    @Column(name = "ans_description")
    private String ansDescription;

    @Column(name = "ques_id")
    private Long questionId;

    public void setQuesOpId(Long quesOpId) {
        this.quesOpId = quesOpId;
    }

    public Long getQuesOpId() {
        return quesOpId;
    }

    public void setAnsDescription(String ansDescription) {
        this.ansDescription = ansDescription;
    }

    public String getAnsDescription() {
        return ansDescription;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public Long getQuestionId() {
        return questionId;
    }

}

Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 comments:

Post a Comment

 

© 2013 Java Tutorials. All rights resevered. Designed by Templateism

Back To Top