Skip to content

Instantly share code, notes, and snippets.

@gnzandrs
Created April 18, 2019 16:12
Show Gist options
  • Save gnzandrs/5ba86f7ede89a7285a791d436eb6a52d to your computer and use it in GitHub Desktop.
Save gnzandrs/5ba86f7ede89a7285a791d436eb6a52d to your computer and use it in GitHub Desktop.

Revisions

  1. gnzandrs created this gist Apr 18, 2019.
    14 changes: 14 additions & 0 deletions medium-usuario.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    using System.ComponentModel.DataAnnotations;

    namespace DotNetApi.Models
    {
    public class Usuario
    {
    [Key]
    public long IdUsuario { get; set; }
    public string Nombres { get; set; }
    public string ApellidoPaterno { get; set; }
    public string ApellidoMaterno { get; set; }
    public string Email { get; set; }
    }
    }