Skip to content

Instantly share code, notes, and snippets.

@fredyfx
Created December 24, 2018 23:43
Show Gist options
  • Save fredyfx/285c60cc04e602a624d658a93518f9ad to your computer and use it in GitHub Desktop.
Save fredyfx/285c60cc04e602a624d658a93518f9ad to your computer and use it in GitHub Desktop.
Agregando un modelo a la aplicación web.
using System;
namespace AdvientoCSharpDic2018.Models{
public class Producto {
public int Id {get;set;}
public string Nombre {get;set;}
public int Stock {get;set;}
public bool TieneOferta {get;set;}
public DateTime CreadoEn {get;set;}
public DateTime ActualizadoEn {get;set;}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment