88 lines
1.9 KiB
Java
88 lines
1.9 KiB
Java
/**
|
|
*
|
|
*/
|
|
package com.jasamedika.medifirst2000.dto;
|
|
|
|
import com.jasamedika.medifirst2000.helper.Caption;
|
|
|
|
/**
|
|
* @author Salman
|
|
* @since May 16th, 2023
|
|
*/
|
|
public class SlipJumlahDto {
|
|
@Caption(value = "Jumlah Gross")
|
|
private String jumlah_gross;
|
|
|
|
@Caption(value = "Jumlah Potongan")
|
|
private String jumlah_potongan;
|
|
|
|
@Caption(value = "Jumlah Nett")
|
|
private String jumlah_nett;
|
|
|
|
public SlipJumlahDto() {
|
|
}
|
|
|
|
public SlipJumlahDto(String jumlah_gross, String jumlah_potongan, String jumlah_nett) {
|
|
super();
|
|
this.jumlah_gross = jumlah_gross;
|
|
this.jumlah_potongan = jumlah_potongan;
|
|
this.jumlah_nett = jumlah_nett;
|
|
}
|
|
|
|
public String getJumlah_gross() {
|
|
return jumlah_gross;
|
|
}
|
|
|
|
public void setJumlah_gross(String jumlah_gross) {
|
|
this.jumlah_gross = jumlah_gross;
|
|
}
|
|
|
|
public String getJumlah_potongan() {
|
|
return jumlah_potongan;
|
|
}
|
|
|
|
public void setJumlah_potongan(String jumlah_potongan) {
|
|
this.jumlah_potongan = jumlah_potongan;
|
|
}
|
|
|
|
public String getJumlah_nett() {
|
|
return jumlah_nett;
|
|
}
|
|
|
|
public void setJumlah_nett(String jumlah_nett) {
|
|
this.jumlah_nett = jumlah_nett;
|
|
}
|
|
|
|
public static SlipJumlahDtoBuilder builder() {
|
|
return new SlipJumlahDtoBuilder();
|
|
}
|
|
|
|
public static class SlipJumlahDtoBuilder {
|
|
private String jumlah_gross = "Rp0,00";
|
|
private String jumlah_potongan = "Rp0,00";
|
|
private String jumlah_nett = "Rp0,00";
|
|
|
|
public SlipJumlahDtoBuilder() {
|
|
}
|
|
|
|
public SlipJumlahDtoBuilder jumlah_gross(final String jumlah_gross) {
|
|
this.jumlah_gross = jumlah_gross;
|
|
return this;
|
|
}
|
|
|
|
public SlipJumlahDtoBuilder jumlah_potongan(final String jumlah_potongan) {
|
|
this.jumlah_potongan = jumlah_potongan;
|
|
return this;
|
|
}
|
|
|
|
public SlipJumlahDtoBuilder jumlah_nett(final String jumlah_nett) {
|
|
this.jumlah_nett = jumlah_nett;
|
|
return this;
|
|
}
|
|
|
|
public SlipJumlahDto build() {
|
|
return new SlipJumlahDto(this.jumlah_gross, this.jumlah_potongan, this.jumlah_nett);
|
|
}
|
|
}
|
|
}
|