Add MongoDB

This commit is contained in:
Robert Marshall 2020-06-22 19:42:42 +01:00
parent 1ce9373949
commit 0d0c077d84
9 changed files with 96 additions and 6 deletions

View file

@ -0,0 +1,12 @@
using MongoDB.Bson.Serialization.Attributes;
using System;
namespace Robware.Data.MongoDB.Users.States {
public class UserState {
[BsonId]
public int Id { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public DateTime Created{ get; set; }
}
}