Salman Manoe c3d5c67ba7 Clean code
Persiapan service duplikat racikan detail sebagai relasi pelayanan pasien saat split jumlah pelayanan
2023-08-26 11:07:52 +07:00

35 lines
936 B
Java

package com.jasamedika.medifirst2000.entities;
import com.jasamedika.medifirst2000.base.BaseTransaction;
import com.jasamedika.medifirst2000.helper.Caption;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.util.Date;
import static javax.persistence.FetchType.LAZY;
@Getter
@Setter
@Entity
@Table(name = "StrukRacikan_T")
public class StrukRacikan extends BaseTransaction {
private static final long serialVersionUID = -3297839532635972916L;
@Caption(value = "No Racikan")
@Column(name = "NoRacikan", nullable = false, length = 10)
private String noRacikan;
@Caption(value = "Tanggal Racikan")
@Column(name = "TglRacikan", nullable = false)
private Date tglRacikan;
@ManyToOne(fetch = LAZY)
@JoinColumn(name = "StrukOrderFk")
@Caption(value = "No Order")
private StrukOrder strukOrder;
@Column(name = "StrukOrderFk", insertable = false, updatable = false)
private String noOrder;
}