You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
749 B

namespace CustomerOnlineV2.Common.Models
{
public class CommonResponse
{
public int ResponseCode { get; set; }
public string? ResponseMessage { get; set; }
public string? Id { get; set; }
public string? Extra { get; set; }
public object Data { get; set; }
public CommonResponse()
{
ResponseCode = ResponseHelper.FAILED;
ResponseMessage = ResponseMessageHelper.FAILED;
}
public CommonResponse(int responseCode, string? responseMessage, string? id = null, string? extra = null)
{
ResponseCode = responseCode;
ResponseMessage = responseMessage;
Id = id;
Extra = extra;
}
}
}