UserMessenge.java 1.98 KB
package zzsy.entity;
/**
 * Created by 周伟鹏 on 2018/10/16.
 */

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;

/**
 * @Auther: Administrator
 * @Date: 2018/10/16 15:18
 * @Description:
 */
@Entity
@Table(name = "USER_MESSENGE")
public class UserMessenge implements Serializable {

    private static final long serialVersionUID = -3061930907822467009L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Integer id;

    private String name;

    private String phone;

    private String company;
    @Column(name = "video_id")
    private Integer videoId;
    @Column(name = "video_title")
    private String videoTitle;
    @Column(name = "video_url")
    private String videoUrl;

    @Column(name = "INSERT_DATE")
    private Timestamp insertDate;

    public Integer getId() {
        return id;
    }

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

    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 String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getVideoTitle() {
        return videoTitle;
    }

    public void setVideoTitle(String videoTitle) {
        this.videoTitle = videoTitle;
    }

    public Integer getVideoId() {
        return videoId;
    }

    public void setVideoId(Integer videoId) {
        this.videoId = videoId;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Timestamp getInsertDate() {

        return insertDate;
    }

    public void setInsertDate(Timestamp insertDate) {
        this.insertDate = insertDate;
    }
}