package com.huimv.video.domain;

import lombok.Data;
import org.springframework.data.annotation.CreatedDate;

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

/**
 * @Project : huimv.shiwan
 * @Package : com.huimv.video.domain
 * @Description : 公网IP
 * @Author : yuxuexuan
 * @Create : 2021/1/6 0006 13:59
 **/
@Entity
@Data
@Table(name = "public_network")
public class PublicNetwork {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private int id;

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


    @CreatedDate
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "creation_time")
    private Date creationTime;

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

}
