ADD - empty and allargs constructor
This commit is contained in:
parent
16ccb7615e
commit
55871cda77
@ -2,8 +2,16 @@ package com.banesco.domain.model;
|
||||
|
||||
public class BaseResponse<T> {
|
||||
|
||||
private final StatusResponse statusResponse;
|
||||
private final T dataResponse;
|
||||
private StatusResponse statusResponse;
|
||||
private T dataResponse;
|
||||
|
||||
public BaseResponse() {
|
||||
}
|
||||
|
||||
public BaseResponse(StatusResponse statusResponse, T dataResponse) {
|
||||
this.statusResponse = statusResponse;
|
||||
this.dataResponse = dataResponse;
|
||||
}
|
||||
|
||||
private BaseResponse(Builder<T> builder) {
|
||||
this.statusResponse = builder.statusResponse;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user