Merge branch 'dev/kepegawaian/kategori-pppk' into dev/base

This commit is contained in:
Salman Manoe 2025-03-04 07:17:08 +07:00
commit 13c43cd3b7
2 changed files with 10 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}