package com.palmnest.model;

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

/**
 * @Author hxt
 * @Description 接口操作日志类
 * @Date 2018/12/27 17:30
 **/
@Entity
@Table(name = "tb_method_execute_log")
public class MethodLog implements Serializable {

	private static final long serialVersionUID = -3155790650846986623L;

	private Long    id;
	private String  method_name;// 接口/方法名称
	private Date    create_time;// 创建时间
	private Integer orgId;// 项目id
	private String  content;// 操作内容
	private Long    creator;// 操作人

	@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 String getMethod_name() {
		return method_name;
	}

	public void setMethod_name(String method_name) {
		this.method_name = method_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Integer getOrgId() {
		return orgId;
	}

	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}
}
