Skip to content

Instantly share code, notes, and snippets.

@rafaelrmou
Created April 8, 2015 12:06
Show Gist options
  • Save rafaelrmou/8e0f2d7246d919db4587 to your computer and use it in GitHub Desktop.
Save rafaelrmou/8e0f2d7246d919db4587 to your computer and use it in GitHub Desktop.
using SQLite.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IntegracaoOauth.Models
{
[Table("Usuario")]
public class Usuario
{
[PrimaryKey, AutoIncrement]
public int ID { get; set; }
[MaxLength(250), NotNull]
public string Nome { get; set; }
[MaxLength(400), NotNull]
public string urlFoto { get; set; }
[MaxLength(200), NotNull]
public string Token { get; set; }
[NotNull]
public DateTime FimToken { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment