package com.jasamedika.medifirst2000.entities; import com.jasamedika.medifirst2000.helper.Caption; import lombok.Getter; import lombok.Setter; import javax.persistence.*; import java.sql.Date; /** * @author Shakato */ @Getter @Setter @Entity @Table(name = "MasalahKeperawatanDetail_T") public class MasalahKeperawatanDetail extends MedicalRecordTransaction { @ManyToOne @JoinColumn(name = "ObjectMasalahKeperawatanFk") @Caption(value = "ID MasalahKeperawatan") private MasalahKeperawatan masalahKeperawatan; @Column(name = "ObjectMasalahKeperawatanFk", columnDefinition = "CHAR(32)", insertable = false, updatable = false) private String masalahKeperawatanId; @Column(name = "dataMasalahKeperawatan") @Caption(value = "dataMasalahKeperawatan") private String dataMasalahKeperawatan; @Column(name = "tanggalDitemukan") @Caption(value = "tanggalDitemukan") private Date tanggalDitemukan; @Column(name = "tanggalTeratasi") @Caption(value = "tanggalTeratasi") private Date tanggalTeratasi; }