Added mongo db repository
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
@@ -6,9 +7,13 @@ namespace BrightGlimmer.Data.Domain
|
||||
{
|
||||
public class Phone
|
||||
{
|
||||
[BsonElement("Id")]
|
||||
public Guid Id { get; set; }
|
||||
[BsonElement("Type")]
|
||||
public PhoneType Type { get; set; }
|
||||
[BsonElement("AreaCode")]
|
||||
public int AreaCode { get; set; }
|
||||
[BsonElement("Number")]
|
||||
public int Number { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user