WxFeedback.java 1.68 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.wechat.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 反馈意见Entity
 * @author lzj
 * @version 2020-03-19
 */
public class WxFeedback extends DataEntity<WxFeedback> {
	
	private static final long serialVersionUID = 1L;
	private String userid;    //微信用户id
	private String fdid;		// 反馈id
	private String kes;		// 科室
	private String question;		// 问题
	private String answer;		// 回答
	private String isopen;       //是否公开
	
	public WxFeedback() {
		super();
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public WxFeedback(String id){
		super(id);
	}

	@Length(min=0, max=64, message="反馈id长度必须介于 0 和 64 之间")
	public String getFdid() {
		return fdid;
	}

	public void setFdid(String fdid) {
		this.fdid = fdid;
	}
	
	@Length(min=0, max=200, message="科室长度必须介于 0 和 200 之间")
	public String getKes() {
		return kes;
	}

	public void setKes(String kes) {
		this.kes = kes;
	}
	
	@Length(min=0, max=2000, message="问题长度必须介于 0 和 2000 之间")
	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}
	
	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public String getIsopen() {
		return isopen;
	}

	public void setIsopen(String isopen) {
		this.isopen = isopen;
	}
	
	
}