Levelcode-IBRCAD/MLL/ModeloCategoria.cs

37 lines
771 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Modelo
{
public class ModeloCategoria
{
public ModeloCategoria()
{
this.CatCod = 0;
this.CatNome = "";
}
public ModeloCategoria(int catcod, String nome )
{
this.CatCod = catcod;
this.CatNome = nome;
}
private int cat_cod;
public int CatCod
{
get { return this.cat_cod; }
set { this.cat_cod = value; }
}
private String cat_nome;
public String CatNome
{
get { return this.cat_nome; }
set { this.cat_nome = value; }
}
}
}