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

import com.fasterxml.jackson.annotation.JsonInclude;

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

@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wcx_publish_message")
public class WcxPublishMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Long id;

    @Column(name="created")
    private Date created;

    @Column(name="creater")
    private String creater;

    @Column(name="deleted")
    private Integer deleted;

    @Column(name="updated")
    private Date updated;

    @Column(name="updater")
    private String updater;

    @Column(name="version")
    private Long version;

    /**
     * 姓名
     */
    @Column(name="name")
    private String name;

    /**
     * 电话
     */
    @Column(name="phone")
    private String phone;

    /**
     * 电话
     */
    @Column(name="age")
    private Integer age;




    /**
     * 区域
     */
    @Column(name="organ_code")
    private String organCode;

    /**
     * 区域名称
     */
    @Column(name="organ_name")
    private String organName;

    /**
     * 项目
     */
    @Column(name="comm_id")
    private Integer commId;

    /**
     * 项目
     */
    @Column(name="comm_name")
    private String commName;


    /**
     * 身份
     */
    @Column(name="identity")
    private String identity;

    /**
     *发布类型
     */
    @Column(name="publish_type")
    private String publishType;


    /**
     *发布内容
     */
    @Column(name="publish_content")
    private String publishContent;



    /**
     *发布时间
     */
    @Column(name="publish_time")
    private Date publishTime;

    /**
     *分数
     */
    @Column(name="point")
    private Integer point;

    @Column(name="publish_no")
    private String publishNo;

    @Column(name="open_id")
    private String openId;

    @Column(name="avatar_url")
    private String avatarUrl;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }


    public String getOrganCode() {
        return organCode;
    }

    public void setOrganCode(String organCode) {
        this.organCode = organCode;
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public Integer getCommId() {
        return commId;
    }

    public void setCommId(Integer commId) {
        this.commId = commId;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getPublishType() {
        return publishType;
    }

    public void setPublishType(String publishType) {
        this.publishType = publishType;
    }

    public String getPublishContent() {
        return publishContent;
    }

    public void setPublishContent(String publishContent) {
        this.publishContent = publishContent;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public String getPublishNo() {
        return publishNo;
    }

    public void setPublishNo(String publishNo) {
        this.publishNo = publishNo;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }
}
