package com.jasamedika.medifirst2000.entities;

import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author salmanoe
 * @version 1.0.0
 * @since 24/10/2023
 */
@Getter
@Setter
@Entity
@Table(name = "aturan_pakai_t")
public class AturanPakai extends BaseTransaction implements Serializable {

	private static final long serialVersionUID = 1472868281196415583L;

	@Column(nullable = false)
	@NotBlank
	@Caption("Keterangan Pakai")
	private String keteranganPakai;

}
