Merge branch 'dev/remun/logbook/rekap' into dev/no-cron

This commit is contained in:
Salman Manoe 2024-10-21 08:57:16 +07:00
commit a3d034330c
2 changed files with 39 additions and 3 deletions

View File

@ -8,12 +8,12 @@ hibernate.show_sql = true
hikari.config.maximum.pool.size = 5 hikari.config.maximum.pool.size = 5
# DB Development # DB Development
jdbc.url = jdbc:postgresql://localhost:5432/rsab_hk_production jdbc.url = jdbc:postgresql://localhost:5439/rsab_hk
jdbc.username = postgres jdbc.username = postgres
jdbc.password = [Rsabhk79] jdbc.password = [Rsabhk79]
jdbc.serverName = localhost jdbc.serverName = localhost
jdbc.databaseName = rsab_hk_production jdbc.databaseName = rsab_hk
jdbc.portNumber = 5432 jdbc.portNumber = 5439
corePoolSizeAsyncConfigurer = 5 corePoolSizeAsyncConfigurer = 5
maxPoolSizeAsyncConfigurer = 5 maxPoolSizeAsyncConfigurer = 5

View File

@ -0,0 +1,36 @@
package com.jasamedika.medifirst2000.entities.constant;
/**
* @author salmanoe
* @version 1.0.0
* @since 18/10/2024
*/
public enum KelompokPasienM {
UMUM_PRIBADI(1), BPJS(2), ASURANSI_LAIN(3), PERUSAHAAN(5), PERJANJIAN(6), NON_BPJS(7), JAMINAN_KEMENKES(8), JAMKESDA(9);
private final long id;
KelompokPasienM(long id) {
this.id = id;
}
public long id() {
return this.id;
}
@Override
public String toString() {
return Long.toString(id);
}
public static KelompokPasienM valueOf(long id) {
for (KelompokPasienM kelompokPasien : values()) {
if (kelompokPasien.id == id) {
return kelompokPasien;
}
}
throw new IllegalArgumentException("No matching constant for [" + id + "]");
}
}