package cn.com.countrygarden.bi.main.model.canteen;

import java.io.Serializable;
import java.util.Date;

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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 调查表
 *
 * @author 吕伟峰
 * @email 
 * @url 
 * @date 2018-08-13
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "canteen_investigate")
public class CanteenInvestigate  implements Serializable{
	 private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    
    
    @Column(name="title")
    private String title;
    
    @Column(name="area_id")
    private String areaId;
    
    @Column(name="areaname")
    private String areaname;
    
    @Column(name="arname")
    private String arname;
    
    @Column(name="project_id")
    private Integer projectId;
    
    @Column(name="projectname")
    private Integer projectname;
    
    @Column(name="prname")
    private String prname;
     
    @Column(name="questionnaire_id")
    private Integer questionnaireId;
    
    @Column(name="is_partake")
    private Integer ispartake;
    
    @Column(name="flag")
    private Integer flag;
    
    /**
     * 创建人
     */
 	@Column(name="create_by")
    private String createBy;
    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改人
     */
 	@Column(name="update_by")
    private String updateBy;
    /**
     * 修改时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    public CanteenInvestigate() {
        super();
  }
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Integer getProjectId() {
		return projectId;
	}
	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}
	public Integer getQuestionnaireId() {
		return questionnaireId;
	}
	public void setQuestionnaireId(Integer questionnaireId) {
		this.questionnaireId = questionnaireId;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getIspartake() {
		return ispartake;
	}
	public void setIspartake(Integer ispartake) {
		this.ispartake = ispartake;
	}
	public String getAreaId() {
		return areaId;
	}
	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}
	public String getAreaname() {
		return areaname;
	}
	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}
	public Integer getProjectname() {
		return projectname;
	}
	public void setProjectname(Integer projectname) {
		this.projectname = projectname;
	}
	public String getArname() {
		return arname;
	}
	public void setArname(String arname) {
		this.arname = arname;
	}
	public String getPrname() {
		return prname;
	}
	public void setPrname(String prname) {
		this.prname = prname;
	}
	
	
	
	

}
