LevelOS-Core/MLL/ModeloBancos.cs

29 lines
628 B
C#

using System;
namespace MLL
{
public class ModeloBancos
{
// ✅ Construtor vazio (OBRIGATÓRIO pro seu DAL)
public ModeloBancos()
{
this.ID_BANCOS = 0;
this.NUMERO = string.Empty;
this.NOME = string.Empty;
}
// ✅ Construtor completo
public ModeloBancos(int id, string numero, string nome)
{
ID_BANCOS = id;
NUMERO = numero;
NOME = nome;
}
public int ID_BANCOS { get; set; }
public string NUMERO { get; set; }
public string NOME { get; set; }
}
}