30 lines
687 B
Java
30 lines
687 B
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
import javax.persistence.*;
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@Table(name = "PengobatanKhusus_T")
|
|
public class PengobatanKhususDetail extends BaseTransaction {
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "PengobatanKhususFk")
|
|
@NotNull(message = "Pengobatan Khusus tidak boleh kosong")
|
|
private PengobatanKhususCheckIn pengobatanKhusus;
|
|
|
|
@Column(name = "value")
|
|
private String value;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "CheckInFk")
|
|
@NotNull(message = "CheckIn tidak boleh kosong")
|
|
private CheckIn checkIn;
|
|
|
|
}
|