public class ResponseBodyLWC {
    @AuraEnabled
    public String status{get;set;}
    @AuraEnabled
    public Integer code{get;set;}
    @AuraEnabled
    public String msg{get;set;}
    @AuraEnabled
    public Object entity{get;set;}
    @AuraEnabled
    public List<Object> entityList{get;set;}
    public ResponseBodyLWC(){}
    
    public ResponseBodyLWC(String status,Integer code, String msg, Object entity){
        this.status = status;
        this.code = code;
        this.msg = msg;
        this.entity = entity;
    }

    public ResponseBodyLWC(String status,Integer code, String msg, List<Object> entityList){
        this.status = status;
        this.code = code;
        this.msg = msg;
        this.entityList = entityList;
    }
}