CompetitionAPI_dotnet/Competition.Mysql/Model/Result.cs

34 lines
765 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Competition.Mysql.Model
{
public class Result
{
public bool state { get; set; }
public string message { get; set; }
public object data { get; set; }
public Result(bool _state, object _data, string _message)
{
this.state = _state;
this.data = _data;
this.message = _message;
}
public Result(bool _state, object _data)
{
this.state = _state;
this.data = _data;
}
public Result(bool _state, string _message)
{
this.state = _state;
this.message = _message;
}
}
}