package com.jasamedika.medifirst2000.vo; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.validation.constraints.NotNull; import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO; public class AlatTerpasangDetailVO extends BaseTransactionVO { @ManyToOne @JoinColumn(name = "AlatTerpasangFk") @NotNull(message = "Alat Terpasang tidak boleh kosong") private AlatTerpasangVO alatTerpasang; @ManyToOne @JoinColumn(name = "CheckInFk") @NotNull(message = "CheckIn tidak boleh kosong") private CheckInVO checkIn; public AlatTerpasangVO getAlatTerpasang() { return alatTerpasang; } public void setAlatTerpasang(AlatTerpasangVO alatTerpasang) { this.alatTerpasang = alatTerpasang; } public CheckInVO getCheckIn() { return checkIn; } public void setCheckIn(CheckInVO checkIn) { this.checkIn = checkIn; } }