Changed parts of how data project stucture

This commit is contained in:
2019-04-22 22:46:39 +00:00
parent 83385a66c7
commit 49f6ee5542
13 changed files with 23 additions and 99 deletions

View File

@@ -1,5 +1,4 @@
using MongoDB.Bson.Serialization.Attributes;
using System;
using System;
using System.Collections.Generic;
using System.Text;
@@ -7,13 +6,9 @@ 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; }
}
}