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.
26 lines
735 B
26 lines
735 B
namespace Common.Model
|
|
{
|
|
public class DbResponse
|
|
{
|
|
public string ResponseCode { get; set; }
|
|
public string Msg { get; set; }
|
|
public string Id { get; set; }
|
|
public object Data { get; set; }
|
|
public string Extra { get; set; }
|
|
public string Extra2 { get; set; }
|
|
|
|
public void SetResponse(string responseCode, string msg, string id = null, string extra = null, string extra2 = null)
|
|
{
|
|
ResponseCode = responseCode;
|
|
Msg = msg;
|
|
Id = id;
|
|
Extra = extra;
|
|
Extra2 = extra2;
|
|
}
|
|
}
|
|
|
|
public class ResponseWithUrl : DbResponse
|
|
{
|
|
public string Url { get; set; }
|
|
}
|
|
}
|