package com.sooka.mybatis.model;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Table(name="t_cms_vote")
public class TCmsVote implements Serializable {
    @Id
    @Column(name="vote_id")
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "SELECT LAST_INSERT_ID()")
    private Integer vote_id;
    @Column(name="content")
    private String content;
    @Column(name="flag")
    private int flag;
    @Column(name="number")
    private String number;
    @Column(name="createtime")
    private Date createtime;
    @Column(name="publisher")
    private String publisher;
    @Column(name="xh")
    private Integer xh;

    private static final long serialVersionUID = 1L;

    public Integer getVote_id() {
        return vote_id;
    }

    public void setVote_id(Integer vote_id) {
        this.vote_id = vote_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Date getCreatetime() { return createtime; }

    public void setCreatetime(Date createtime) { this.createtime = createtime; }

    public Integer getXh() {
        return xh;
    }

    public void setXh(Integer xh) {
        this.xh = xh;
    }
}
