Merge branch 'dev/kepegawaian/kategori-pppk' into prod/base
This commit is contained in:
commit
78699b5eee
@ -7,6 +7,7 @@ import org.hibernate.annotations.GenericGenerator;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
/**
|
||||
@ -31,4 +32,8 @@ public class GolonganPPPK extends BaseActive {
|
||||
@Column(length = 10, nullable = false)
|
||||
private String namaGolongan;
|
||||
|
||||
@NotNull(message = "Konversi angka arab tidak boleh kosong")
|
||||
@Column(nullable = false)
|
||||
private Integer konversi;
|
||||
|
||||
}
|
||||
|
||||
@ -5,6 +5,8 @@ import com.jasamedika.medifirst2000.helper.Caption;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* @author Salman
|
||||
* @version 1.0.0
|
||||
@ -20,4 +22,7 @@ public class GolonganPPPKVO extends BaseActiveVO {
|
||||
@Caption(value = "Nama Golongan")
|
||||
private String namaGolongan;
|
||||
|
||||
@NotNull(message = "Konversi angka arab tidak boleh kosong")
|
||||
private Integer konversi;
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user