package com.jasamedika.medifirst2000.entities;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

import static javax.persistence.GenerationType.AUTO;

@Getter
@Setter
@Entity
@Table(name = "activity_log")
public class ActivityLog {

	@Id
	@GeneratedValue(strategy = AUTO)
	private Long id;

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

	@Column(name = "detail", columnDefinition = "TEXT")
	private String detail;

}
