dotnet-object-storage/PoweredSoft.ObjectStorage.MongoDB.Tests/Mock/Dal/Contact.cs
David Lebee b789b367c2 initial
2019-02-12 17:39:16 -05:00

18 lines
454 B
C#

using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace PoweredSoft.ObjectStorage.MongoDB.Tests.Mock.Dal
{
[MongoCollection("contacts")]
public class Contact
{
[BsonId, BsonElement("id")]
public ObjectId Id { get; set; }
[BsonElement("firstName")]
public string FirstName { get; set; }
[BsonElement("lastName")]
public string LastName { get; set; }
}
}