package com.matrix.system.hive.bean; 
 | 
  
 | 
import java.io.Serializable; 
 | 
import java.util.List; 
 | 
/** 
 | 
 * 
 | 
 * @date 2017-03-01 09:42 
 | 
 */ 
 | 
public class Question implements Serializable{ 
 | 
  
 | 
    public static final String TYPE_ZXDAGL = "咨询档案管理" ; 
 | 
  
 | 
    private static final long serialVersionUID = 1L; 
 | 
  
 | 
     
 | 
    private Long  id; 
 | 
             
 | 
     
 | 
    /** 
 | 
     * 问提分类 
 | 
     */ 
 | 
    private String  category; 
 | 
             
 | 
     
 | 
    /** 
 | 
     * 问题类型 
 | 
     */ 
 | 
    private String  type; 
 | 
             
 | 
     
 | 
    /** 
 | 
     * 问题 
 | 
     */ 
 | 
    private String  question; 
 | 
             
 | 
     
 | 
    /** 
 | 
     * 排序 
 | 
     */ 
 | 
    private String  orderField; 
 | 
  
 | 
    private Long companyId; 
 | 
     
 | 
    /** 
 | 
     * 问题答案集合 
 | 
     */ 
 | 
    List<Answer> answers; 
 | 
     
 | 
    /** 
 | 
     * 会员对问题的答案 
 | 
     */ 
 | 
    private VipAnswer vipAnswer; 
 | 
  
 | 
    public Long getId() { 
 | 
        return id; 
 | 
    } 
 | 
        
 | 
       public void setId(Long id) { 
 | 
        this.id=id; 
 | 
    } 
 | 
        
 | 
  
 | 
    public String getCategory() { 
 | 
        return category; 
 | 
    } 
 | 
        
 | 
       public void setCategory(String category) { 
 | 
        this.category=category; 
 | 
    } 
 | 
        
 | 
  
 | 
    public String getType() { 
 | 
        return type; 
 | 
    } 
 | 
        
 | 
       public void setType(String type) { 
 | 
        this.type=type; 
 | 
    } 
 | 
        
 | 
  
 | 
    public String getQuestion() { 
 | 
        return question; 
 | 
    } 
 | 
        
 | 
       public void setQuestion(String question) { 
 | 
        this.question=question; 
 | 
    } 
 | 
  
 | 
    public Long getCompanyId() { 
 | 
        return companyId; 
 | 
    } 
 | 
  
 | 
    public void setCompanyId(Long companyId) { 
 | 
        this.companyId = companyId; 
 | 
    } 
 | 
  
 | 
    public String getOrderField() { 
 | 
        return orderField; 
 | 
    } 
 | 
  
 | 
    public void setOrderField(String orderField) { 
 | 
        this.orderField = orderField; 
 | 
    } 
 | 
  
 | 
    public List<Answer> getAnswers() { 
 | 
        return answers; 
 | 
    } 
 | 
  
 | 
    public void setAnswers(List<Answer> answers) { 
 | 
        this.answers = answers; 
 | 
    } 
 | 
     
 | 
  
 | 
    public VipAnswer getVipAnswer() { 
 | 
        return vipAnswer; 
 | 
    } 
 | 
  
 | 
    public void setVipAnswer(VipAnswer vipAnswer) { 
 | 
        this.vipAnswer = vipAnswer; 
 | 
    } 
 | 
  
 | 
    @Override 
 | 
    public String toString() { 
 | 
        return "{quesion:{" 
 | 
        +"id:"+id+"," 
 | 
        +"category:"+category+"," 
 | 
        +"type:"+type+"," 
 | 
        +"question:"+question+"," 
 | 
        +"orderField:"+orderField+"," 
 | 
        +"}}"; 
 | 
    } 
 | 
  
 | 
  
 | 
   
 | 
} 
 |