package com.palmnest.model.enterprise;

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

/**
 * @Author HIAPAD
 * @Description TODO
 * @Date 2019/2/25 9:10
 **/
@Entity
@Table(name = "tr_vir_service")
public class VirServiceRelation implements Serializable {

	private static final long serialVersionUID = 2640885322476044680L;

	private Long    id;
	private Long    virPermId;
	private Integer serviceId;
	private Date    createTime;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return id;
	}

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

	public Integer getServiceId() {
		return serviceId;
	}

	public void setServiceId(Integer serviceId) {
		this.serviceId = serviceId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getVirPermId() {
		return virPermId;
	}

	public void setVirPermId(Long virPermId) {
		this.virPermId = virPermId;
	}
}
