43 lines
1.1 KiB
Java
43 lines
1.1 KiB
Java
package com.jasamedika.medifirst2000.entities;
|
|
|
|
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.jasamedika.medifirst2000.base.BaseTransaction;
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
@Table(name = "FactoRateKelompokShift_T")
|
|
public class FactoRateKelompokShift extends BaseTransaction {
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "KelompokShiftFk")
|
|
@NotNull(message = "KelompokShift Harus Diisi")
|
|
@Caption(value = "KelompokShift")
|
|
private KelompokShift kelompokShift;
|
|
|
|
@Column(name = "KelompokShiftFk", insertable = false, updatable = false)
|
|
private Integer kelompokShiftId;
|
|
|
|
@Caption(value = "periode")
|
|
@Column(name = "periode", nullable = false)
|
|
private String periode;
|
|
|
|
@Column(name = "FactorRate", nullable = false)
|
|
@Caption(value = "Factor Rate")
|
|
private Double factorRate;
|
|
|
|
@Column(name = "hari")
|
|
@Caption(value = "hari")
|
|
private Integer hari;
|
|
|
|
}
|