23 lines
532 B
C#
23 lines
532 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace chatapi
|
|||
|
{
|
|||
|
internal class LoginData
|
|||
|
{
|
|||
|
public bool success { get; set; }
|
|||
|
public string? message { get; set; }
|
|||
|
public string? token { get; set; }
|
|||
|
public int? user_id { get; set; }
|
|||
|
public string? username { get; set; }
|
|||
|
}
|
|||
|
internal class RegisterData
|
|||
|
{
|
|||
|
public bool success { get; set; }
|
|||
|
public string? message { get; set; }
|
|||
|
}
|
|||
|
}
|