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_file")
public class WcxPublishFile 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;

    /**
     * 发布内容ID
     */
    @Column(name="pushlish_id")
    private Long pushlishId;

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


    /**
     * 发布url
     */
    @Column(name="publish_url")
    private String publishUrl;

    /**
     * 发布内容ID
     */
    @Column(name="pushlish_no")
    private String pushlishNo;


    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 Long getPushlishId() {
        return pushlishId;
    }

    public void setPushlishId(Long pushlishId) {
        this.pushlishId = pushlishId;
    }

    public String getPublishType() {
        return publishType;
    }

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

    public String getPublishUrl() {
        return publishUrl;
    }

    public void setPublishUrl(String publishUrl) {
        this.publishUrl = publishUrl;
    }

    public String getPushlishNo() {
        return pushlishNo;
    }

    public void setPushlishNo(String pushlishNo) {
        this.pushlishNo = pushlishNo;
    }
}
