binxie
2023-06-26 b5c5eb130ca0848124f9d136af4be142ad5aac07
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
    }
}