56 lines
1.7 KiB
C#
56 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MLL
|
|
{
|
|
public class ModeloTelegramCliente
|
|
{
|
|
public ModeloTelegramCliente()
|
|
{
|
|
Id = 0;
|
|
Nome = "";
|
|
Tipo = "";
|
|
BotToken = "";
|
|
ApiId = 0;
|
|
ApiHash = "";
|
|
Telefone = "";
|
|
SessionString = "";
|
|
ChatId = "";
|
|
Ativo = false;
|
|
CriadoEm = DateTime.MinValue;
|
|
AtualizadoEm = DateTime.MinValue;
|
|
}
|
|
public ModeloTelegramCliente(int id, string nome, string tipo, string botToken, int? apiId, string apiHash, string telefone, string sessionString, string chatId, bool ativo, DateTime criadoEm, DateTime? atualizadoEm)
|
|
{
|
|
Id = id;
|
|
Nome = nome;
|
|
Tipo = tipo;
|
|
BotToken = botToken;
|
|
ApiId = apiId;
|
|
ApiHash = apiHash;
|
|
Telefone = telefone;
|
|
SessionString = sessionString;
|
|
ChatId = chatId;
|
|
Ativo = ativo;
|
|
CriadoEm = criadoEm;
|
|
AtualizadoEm = atualizadoEm;
|
|
}
|
|
|
|
public int Id { get; set; }
|
|
public string Nome { get; set; }
|
|
public string Tipo { get; set; }
|
|
public string BotToken { get; set; }
|
|
public int? ApiId { get; set; }
|
|
public string ApiHash { get; set; }
|
|
public string Telefone { get; set; }
|
|
public string SessionString { get; set; }
|
|
public string ChatId { get; set; }
|
|
public bool Ativo { get; set; }
|
|
public DateTime CriadoEm { get; set; }
|
|
public DateTime? AtualizadoEm { get; set; }
|
|
}
|
|
}
|