refactor penamaan table
This commit is contained in:
@@ -15,6 +15,6 @@ import java.util.List;
|
||||
@NoArgsConstructor
|
||||
public class ListRksDaftarIsiResponse extends BaseResponse {
|
||||
|
||||
private List<RksDaftarIsiResponse> data;
|
||||
private List<RksDaftarResponse> data;
|
||||
private Pagination pagination;
|
||||
}
|
||||
|
@@ -15,6 +15,6 @@ import java.util.List;
|
||||
@NoArgsConstructor
|
||||
public class ListRksIsiResponse extends BaseResponse {
|
||||
|
||||
private List<RksIsiResponse> data;
|
||||
private List<RksDaftarIsiResponse> data;
|
||||
private Pagination pagination;
|
||||
}
|
||||
|
@@ -11,12 +11,13 @@ import lombok.NoArgsConstructor;
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class RksDaftarIsiResponse extends BaseResponse {
|
||||
|
||||
private Long id;
|
||||
private String kodeTemplate;
|
||||
private String namaTemplate;
|
||||
private Long metodePengadaanId;
|
||||
private String metodePengadaan;
|
||||
private String versi;
|
||||
|
||||
private Long rksDaftarId;
|
||||
private String nomor;
|
||||
private Integer parentId;
|
||||
private String title;
|
||||
private String urutan;
|
||||
private Boolean isKontrak;
|
||||
private Boolean isActive;
|
||||
private Boolean isDelete;
|
||||
}
|
||||
|
@@ -0,0 +1,22 @@
|
||||
package com.iconplus.smartproc.model.response;
|
||||
|
||||
import com.iconplus.smartproc.helper.base.BaseResponse;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class RksDaftarResponse extends BaseResponse {
|
||||
|
||||
private Long id;
|
||||
private String kodeTemplate;
|
||||
private String namaTemplate;
|
||||
private Long metodePengadaanId;
|
||||
private String metodePengadaan;
|
||||
private String versi;
|
||||
|
||||
}
|
@@ -1,27 +0,0 @@
|
||||
package com.iconplus.smartproc.model.response;
|
||||
|
||||
import com.iconplus.smartproc.helper.base.BaseResponse;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class RksIsiResponse extends BaseResponse {
|
||||
private Long id;
|
||||
private Long rksDaftarIsiId;
|
||||
private String nomor;
|
||||
private Integer parentId;
|
||||
private String parent;
|
||||
private String nama;
|
||||
private String bab;
|
||||
private String subBab;
|
||||
private String kelompok;
|
||||
private String urutan;
|
||||
private Boolean isKontrak;
|
||||
private Boolean isActive;
|
||||
private Boolean isDelete;
|
||||
}
|
@@ -18,7 +18,7 @@ public class RksTemplateResponse extends BaseResponse {
|
||||
private Long metodePengadaanId;
|
||||
private String metodePengadaan;
|
||||
private String versi;
|
||||
private Long rksDaftarIsiId;
|
||||
private Long rksDaftarId;
|
||||
private String daftarIsi;
|
||||
private Boolean isActive;
|
||||
private Boolean isDelete;
|
||||
|
Reference in New Issue
Block a user