63 lines
1.7 KiB
Java
63 lines
1.7 KiB
Java
package com.jasamedika.medifirst2000.vo;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.JoinColumn;
|
|
import javax.persistence.ManyToOne;
|
|
import javax.persistence.Table;
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonBackReference;
|
|
import com.jasamedika.medifirst2000.base.BaseMaster;
|
|
import com.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import com.jasamedika.medifirst2000.base.vo.BaseTransactionVO;
|
|
import com.jasamedika.medifirst2000.helper.Caption;import org.hibernate.envers.Audited;
|
|
|
|
/**
|
|
* class KesadaranCheckOutDetail
|
|
*
|
|
* @author shakato
|
|
*/
|
|
public class KesadaranCheckOutDetailVO extends BaseTransactionVO {
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectCheckOutOperationFk")
|
|
@Caption(value = "ID checkOutOperation")
|
|
@NotNull(message = "ID checkOutOperation tidak boleh kosong")
|
|
private CheckOutOperationVO checkOutOperation;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "ObjectKesadaranCheckOutFk")
|
|
@Caption(value = "ID KesadaranCheckOut")
|
|
@NotNull(message = "ID KesadaranCheckOut tidak boleh kosong")
|
|
private KesadaranCheckOutVO kesadaranCheckOut;
|
|
|
|
@Column(name = "status", nullable = true)
|
|
@Caption(value = "status")
|
|
private Boolean status;
|
|
|
|
public CheckOutOperationVO getCheckOutOperation() {
|
|
return checkOutOperation;
|
|
}
|
|
|
|
public void setCheckOutOperation(CheckOutOperationVO checkOutOperation) {
|
|
this.checkOutOperation = checkOutOperation;
|
|
}
|
|
|
|
public KesadaranCheckOutVO getKesadaranCheckOut() {
|
|
return kesadaranCheckOut;
|
|
}
|
|
|
|
public void setKesadaranCheckOut(KesadaranCheckOutVO kesadaranCheckOut) {
|
|
this.kesadaranCheckOut = kesadaranCheckOut;
|
|
}
|
|
|
|
public Boolean getStatus() {
|
|
return status;
|
|
}
|
|
|
|
public void setStatus(Boolean status) {
|
|
this.status = status;
|
|
}
|
|
|
|
} |